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.
8 lines
156 B
TypeScript
8 lines
156 B
TypeScript
//// [parser630933.ts]
|
|
var a = "Hello";
|
|
var b = a.match(/\/ver=([^/]+)/);
|
|
|
|
|
|
//// [parser630933.js]
|
|
var a = "Hello";
|
|
var b = a.match(/\/ver=([^/]+)/);
|