Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Improve quantifying-nothing check (fixes #128)
  • Loading branch information
sorear committed May 27, 2012
1 parent 9852003 commit df795e6
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/STD.pm6
Expand Up @@ -4826,6 +4826,7 @@ grammar Regex is STD {

token metachar:sigwhite {
<normspace>
[ <?quantifier> <.sorry: "Quantifier quantifies nothing"> ]?
}
token metachar:unsp { <unsp> }

Expand Down

0 comments on commit df795e6

Please sign in to comment.