Removing support for "{,n}" syntax
Don't know I missed that this isn't supported in JS
This commit is contained in:
parent
67a71289bc
commit
b4b999d7a6
@ -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 <- "?"
|
||||
|
Loading…
Reference in New Issue
Block a user