Permalink
Browse files

improve Null pattern detection a bit

  • Loading branch information...
1 parent 39ab731 commit 124bf553bb6c3a3c8b0af90df1197da4c10f0180 @moritz moritz committed Dec 3, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 src/QRegex/P6Regex/Grammar.nqp
@@ -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] }
}

0 comments on commit 124bf55

Please sign in to comment.