Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Add some documentation for <( and )> capture markers
Issue #462
  • Loading branch information
samcv committed Dec 17, 2016
1 parent 6a10cf7 commit f45db30
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions doc/Language/regexes.pod6
Expand Up @@ -715,6 +715,11 @@ all named captures:
There is a more convenient way to get named captures which is discussed in
the section on Subrules.
=head2 X«Capture markers|<(,)>»
A C«<(» token indicates the start of the match's overall capture, while the corresponding C«)>»
token indicates its endpoint. The C«<(» is similar to other languages X<\K|\K> to discard any matches
found before the C<\K>.
=head1 Substitution
Regular expressions can also be used to substitute one piece of text for
Expand Down

0 comments on commit f45db30

Please sign in to comment.