Removing support for "{,n}" syntax
Don't know I missed that this isn't supported in JS
This commit is contained in:
@@ -12,7 +12,6 @@ grammar JavascriptRegexp
|
|||||||
repeat_required <- "+" <RepeatRequired>
|
repeat_required <- "+" <RepeatRequired>
|
||||||
repeat_optional <- "?" <RepeatOptional>
|
repeat_optional <- "?" <RepeatOptional>
|
||||||
repeat_spec <- ( "{" _min:[0-9]+ "," _max:[0-9]+ "}"
|
repeat_spec <- ( "{" _min:[0-9]+ "," _max:[0-9]+ "}"
|
||||||
/ "{," _max:[0-9]+ "}"
|
|
||||||
/ "{" _min:[0-9]+ ",}"
|
/ "{" _min:[0-9]+ ",}"
|
||||||
/ "{" _exact:[0-9]+ "}" ) <RepeatSpec>
|
/ "{" _exact:[0-9]+ "}" ) <RepeatSpec>
|
||||||
repeat_greedy <- "?"
|
repeat_greedy <- "?"
|
||||||
|
|||||||
Reference in New Issue
Block a user