Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Workaround separator/NFA bug for now; gets us able to parse \x[...] a…
…nd \o[...] in regexes again.
  • Loading branch information
jnthn committed May 27, 2012
1 parent acdaae4 commit 689b820
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/QRegex/P6Regex/Grammar.nqp
Expand Up @@ -165,8 +165,8 @@ grammar QRegex::P6Regex::Grammar is HLL::Grammar {
token backslash:sym<r> { $<sym>=[<[rR]>] }
token backslash:sym<t> { $<sym>=[<[tT]>] }
token backslash:sym<v> { $<sym>=[<[vV]>] }
token backslash:sym<o> { $<sym>=[<[oO]>] [ <octint> | '[' <octints> ']' ] }
token backslash:sym<x> { $<sym>=[<[xX]>] [ <hexint> | '[' <hexints> ']' ] }
token backslash:sym<o> { $<sym>=[<[oO]>] [ <octint> | '[' {} <octints> ']' ] }
token backslash:sym<x> { $<sym>=[<[xX]>] [ <hexint> | '[' {} <hexints> ']' ] }
token backslash:sym<c> { $<sym>=[<[cC]>] <charspec> }
token backslash:sym<A> { 'A' <.obs: '\\A as beginning-of-string matcher', '^'> }
token backslash:sym<z> { 'z' <.obs: '\\z as end-of-string matcher', '$'> }
Expand Down

0 comments on commit 689b820

Please sign in to comment.