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
91 B
TypeScript
5 lines
91 B
TypeScript
//// [parser645086_4.ts]
|
|
var v = /[^\]/]/
|
|
|
|
//// [parser645086_4.js]
|
|
var v = /[^\]/]/;
|