Skip to content

Instantly share code, notes, and snippets.

@Whateverable
Created April 5, 2019 19:22
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 Whateverable/6a3e951ad4d69413d0943138ca492f10 to your computer and use it in GitHub Desktop.
Save Whateverable/6a3e951ad4d69413d0943138ca492f10 to your computer and use it in GitHub Desktop.
evalable6
my regex quoted { \" ~~ \" <-[\"]>+ }; my $a = '"This is a test"'; say $a ~~ /<quoted>/
(exit code 1)
===SORRY!===
Unrecognized regex metacharacter ~ (must be quoted to match literally)
at /tmp/nMTqkaZMp5:1
------> my regex quoted { \" ~~ \" <-[\"]>+ ⏏}; my $a = '"This is a test"'; say $a ~~
Malformed regex
at /tmp/nMTqkaZMp5:1
------> my regex quoted { \" ~~ \" <-[\"]>+ ⏏}; my $a = '"This is a test"'; say $a ~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment