Skip to content

Instantly share code, notes, and snippets.

@samcv
Created April 17, 2017 20:09
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save samcv/50ce3e7975c09678b26fae12fb740e65 to your computer and use it in GitHub Desktop.
Save samcv/50ce3e7975c09678b26fae12fb740e65 to your computer and use it in GitHub Desktop.
my token notcolon { <-[:] >+ }; 'blah:' ~~ / ( <notcolon> ) ':' /; say $0;
my $notcolon = / <-[:] >+ /;
say 'blah:' ~~ / ( $notcolon ) /;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment