Skip to content

Commit

Permalink
Update regexes.pod6
Browse files Browse the repository at this point in the history
  • Loading branch information
COMBORICO committed May 2, 2018
1 parent 3f1e54a commit ef19043
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/Language/regexes.pod6
Expand Up @@ -15,8 +15,8 @@ those patterns to actual text.
Perl 6 has special syntax for writing regexes:
m/abc/; # a regex that is immediately matched against $_
rx/abc/; # a Regex object; used to store regex object in a variable
/abc/; # a Regex object; shorthand version of 'm/ /' operator
rx/abc/; # a Regex object; allow adverbs to be used before regex
/abc/; # a Regex object; shorthand version of 'rx/ /' operator
For the first two examples, delimiters other than the slash can be used:
Expand Down

0 comments on commit ef19043

Please sign in to comment.