Adding rendering for Subexp

This commit is contained in:
Jeff Avallone
2014-12-07 21:16:23 -05:00
parent 52a0863449
commit ae064b2b8e
3 changed files with 75 additions and 2 deletions
+1 -1
View File
@@ -16,7 +16,7 @@ grammar JavascriptRegexp
/ "{" _min:[0-9]+ ",}"
/ "{" _exact:[0-9]+ "}" ) <RepeatSpec>
repeat_greedy <- "?"
subexp <- "(" ( subexp_no_capture / subexp_positive_lookahead / subexp_negative_lookahead )? regexp ")" <Subexp>
subexp <- "(" _capture:( subexp_no_capture / subexp_positive_lookahead / subexp_negative_lookahead )? regexp ")" <Subexp>
subexp_no_capture <- "?:"
subexp_positive_lookahead <- "?="
subexp_negative_lookahead <- "?!"