Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
improve Null pattern detection a bit
  • Loading branch information
moritz committed Dec 3, 2012
1 parent 39ab731 commit 124bf55
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/QRegex/P6Regex/Grammar.nqp
Expand Up @@ -127,6 +127,7 @@ grammar QRegex::P6Regex::Grammar is HLL::Grammar {

token termish {
|| <noun=.quantified_atom>+
|| <?before <stopper> | <[&|~]> > <.throw_null_pattern>
|| (\W) { self.throw_unrecognized_metachar: ~$/[0] }
}

Expand Down

0 comments on commit 124bf55

Please sign in to comment.