swc/crates/swc_ecma_parser/tests/tsc/parserRegularExpression2.ts

1 line
31 B
TypeScript

href.match(/:\/\/(.[^/]+)/)[1];