35803db2e6
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
140 B
JavaScript
5 lines
140 B
JavaScript
//// [parserRegularExpression2.ts]
|
|
href.match(/:\/\/(.[^/]+)/)[1];
|
|
|
|
//// [parserRegularExpression2.js]
|
|
href.match(/:\/\/(.[^/]+)/)[1];
|