Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #2112 from ronaldxs/reverse-suppress-capture
Update regexes.pod6 fix reversed suppress capture operators ".&"
Thanks a lot!
  • Loading branch information
JJ committed Jun 21, 2018
2 parents c678f27 + 23578bb commit a3753c0
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions doc/Language/regexes.pod6
Expand Up @@ -1384,10 +1384,10 @@ called with C«<named-regex>». At the same time, calling a named regex
installs a named capture with the same name.
To give the capture a different name from the regex, use the syntax
C«<capture-name=named-regex>». If no capture is desired, a leading dot or
ampersand will suppress it: C«<.named-regex>» if a regex declared in the same
lexical context is used, C«<&named-regex>» if it is a method declared in the
same class or grammar.
C«<capture-name=named-regex>». If no capture is desired, a leading dot
or ampersand will suppress it: C«<.named-regex>» if it is a method
declared in the same class or grammar, C«<&named-regex>» for a regex
declared in the same lexical context.
Here's more complete code for parsing C<ini> files:
Expand Down

0 comments on commit a3753c0

Please sign in to comment.