Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
parse <[...]> as unbalanced text, not balanced
  • Loading branch information
TimToady committed Oct 26, 2011
1 parent 580b69a commit be1f10e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion STD.pm6
Expand Up @@ -5092,7 +5092,7 @@ grammar Regex is STD {
token cclass_elem:sym<[ ]> {
:my $*CCSTATE = '';
:dba('character class element')
<before '['> <quibble($¢.cursor_fresh( %*LANG<Q> ).tweak(:cc))>
"[" ~ "]" <nibble($¢.cursor_fresh( %*LANG<Q> ).tweak(:cc).unbalanced("]"))>
<.normspace>?
}

Expand Down

0 comments on commit be1f10e

Please sign in to comment.