Skip to content

Commit

Permalink
Typo fixes in obsolete P5 regex syntax detectors.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmichaud committed Jun 27, 2012
1 parent 30385f8 commit fd2647b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions STD.pm6
Original file line number Diff line number Diff line change
Expand Up @@ -4964,10 +4964,10 @@ grammar Regex is STD {
}

token metachar:sym<(?: )> { '(?:' <.obs("(?: ... ) for grouping", "[ ... ]")> }
token metachar:sym<(?= )> { '(?:' <.obs("(?= ... ) for lookahead", "<?before ... >")> }
token metachar:sym<(?! )> { '(?:' <.obs("(?! ... ) for lookahead", "<!before ... >")> }
token metachar:sym<(?\<= )> { '(?:' <.obs("(?<= ... ) for lookbehind", "<?after ... >")> }
token metachar:sym<(?\<! )> { '(?:' <.obs("(?<! ... ) for lookbehind", "<!after ... >")> }
token metachar:sym<(?= )> { '(?=' <.obs("(?= ... ) for lookahead", "<?before ... >")> }
token metachar:sym<(?! )> { '(?!' <.obs("(?! ... ) for lookahead", "<!before ... >")> }
token metachar:sym<(?\<= )> { '(?<=' <.obs("(?<= ... ) for lookbehind", "<?after ... >")> }
token metachar:sym<(?\<! )> { '(?<!' <.obs("(?<! ... ) for lookbehind", "<!after ... >")> }
token metachar:sym<( )> {
:dba("capture parens")
'(' ~ ')' <nibbler>
Expand Down

0 comments on commit fd2647b

Please sign in to comment.