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
102 B
TypeScript
5 lines
102 B
TypeScript
//// [parser596700.ts]
|
|
var regex2 = /[a-z/]$/i;
|
|
|
|
//// [parser596700.js]
|
|
var regex2 = /[a-z/]$/i;
|