jviereck / regjsparser

Parsing the JavaScript's RegExp in JavaScript.
http://www.julianviereck.de/regjsparser/
BSD 2-Clause "Simplified" License
79 stars 20 forks source link

Lone quantifier bracket should not throw when unicode flag is not enabled #95

Closed JLHwung closed 4 years ago

JLHwung commented 5 years ago

REPL: https://runkit.com/embed/etooxrk5pmq3

Expanded Atom can be Extended Pattern Character, spec

ExtendedPatternCharacter ::
  SourceCharacterbut not one of ^ $ \ . * + ? ( ) [ |
jviereck commented 4 years ago

This should be fixed by #102. Can you confirm?

JLHwung commented 4 years ago

@jviereck Yep I can not reproduce on 0.6.4. Thanks!