javallone/regexper

Looks like you need to escape { and } but in JS-flavored regex you do not

Closed this issue · 1 comments

Looks like you need to escape { and } but in JS-flavored regex you do not

I'm committing a fix for this.

From my experiments in the browser, you are allowed to have unescaped "{" and "}" characters so long as they don't look like a specification for a repetition (so you can't do "{1}", "{1,2}", etc).