Skip to content
This repository has been archived by the owner on Feb 3, 2021. It is now read-only.

Commit

Permalink
Change message for incorrect character range usage
Browse files Browse the repository at this point in the history
  • Loading branch information
snarkyboojum committed Jul 24, 2010
1 parent 43942d0 commit 964a1b0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Regex/P6Regex/Grammar.pm
Expand Up @@ -164,7 +164,7 @@ grammar Regex::P6Regex::Grammar is HLL::Grammar;
<.normspace>?
[
| '[' $<charspec>=(
| \s* '-' <.obs: 'hyphen in enumerated character class','..'>
| \s* '-' <.obs: '- as character range','..'>
| \s* [ \\ (.) | (<-[\]\\]>) ] [ \s* '..' \s* (.) ]?
)*
\s* ']'
Expand Down

0 comments on commit 964a1b0

Please sign in to comment.