Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Update regexes.pod6 fix reversed suppress capture operators ".&"
  • Loading branch information
ronaldxs committed Jun 21, 2018
1 parent 5db6e0e commit 23578bb
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 23578bb

Please sign in to comment.