Created
October 2, 2015 18:19
-
-
Save ronaldxs/e19a8501839e76b4ac35 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 token hexlet { <[A..F]> }; | |
say so 'A' ~~ /<hexlet>/; | |
say so 'A' ~~ /<- [A..F]>/; | |
say so '.' ~~ /<- alpha>/; | |
say so 'A' !~~ /<hexlet>/; # need substituion and !~~ won't work substitution | |
say so '.' ~~ /<- hexlet>/; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment