Basically we weren't recognizing that a slash can occur in a character class, so we were bailing out too early on code like `/[/]/`. Fixes issue #318.
5 lines
89 B
TypeScript
5 lines
89 B
TypeScript
//// [parser645086_3.ts]
|
|
var v = /[\]/]/
|
|
|
|
//// [parser645086_3.js]
|
|
var v = /[\]/]/;
|