Created
August 5, 2017 10:14
-
-
Save zengargoyle/8995cffb6a495f53d3fecfce8c26f43f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
my rule numbers { [ <[0..9]>* ]* % ',' } | |
my rule numlist { '[' ~ ']' <numbers> } | |
say "[1,12]" ~~ /<numlist>+/; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment