Open chenjau opened 7 years ago
I'm seeing this error even without '/' in the regex. Literally %r{}
(which is equivalent to //
) starts throwing this error on every keypress within the delimiters.
Atom 1.20.0, regex-railroad-diagram 0.19.3, and this is still happening.
Atom 1.19.7, regex-railroad-diagram 0.19.3, happening for me also. Is there likely to be a fix?
[Enter steps to reproduce:]
ps(guessing): '/' above is literal, but interpreted as indicates of the start and end.
Atom: 1.20.0-dev-5a8dce117 x64 Electron: 1.6.9 OS: Mac OS X 10.12.5 Thrown From: regex-railroad-diagram package 0.19.3
Stack Trace
Uncaught SyntaxError: Invalid flags supplied to RegExp constructor '\/'
Non-Core Packages