Removing support for "{,n}" syntax

Don't know I missed that this isn't supported in JS
This commit is contained in:
Jeff Avallone 2014-12-15 11:11:17 -05:00
parent 67a71289bc
commit b4b999d7a6

View File

@ -12,7 +12,6 @@ grammar JavascriptRegexp
repeat_required <- "+" <RepeatRequired>
repeat_optional <- "?" <RepeatOptional>
repeat_spec <- ( "{" _min:[0-9]+ "," _max:[0-9]+ "}"
/ "{," _max:[0-9]+ "}"
/ "{" _min:[0-9]+ ",}"
/ "{" _exact:[0-9]+ "}" ) <RepeatSpec>
repeat_greedy <- "?"