Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Document that « and » can be used instead of << and >>
b2gills++
  • Loading branch information
zoffixznet committed Aug 5, 2016
1 parent c06c27a commit 3566442
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/Language/regexes.pod6
Expand Up @@ -534,6 +534,11 @@ the end of the string).
say so $str ~~ /<< own/; # False
say so $str ~~ /own >>/; # True
You can also use this variant:
say so $str ~~ /« own/; # False
say so $str ~~ /own »/; # True
=head1 X«Grouping and Capturing|regex,( );regex,[ ];regex,$<capture> =»
In regular (non-regex) Perl 6, you can use parentheses to group things
Expand Down

0 comments on commit 3566442

Please sign in to comment.