parseFrameLocation(text: string): { url: string; line: number; col: number; } | null
Parses the trailing URL:LINE:COL suffix of a stack frame. The greedy (.+) group
captures URLs that contain colons (e.g. http://host:PORT/path); the regex anchors
mean the last two :digits sequences are always the line/col.
import * as SourceMap from './source-map.ts'; SourceMap.parseFrameLocation('http://localhost:7357/tests.js:10:15'); // { url: 'http://localhost:7357/tests.js', line: 10, col: 15 } — the port survives SourceMap.parseFrameLocation('native code'); // null