A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/stacktracejs/error-stack-parser/commit/280acd52c0ad5b1347ac8d44fb993dc97fd3d994 below:

(\d+)' because we should get any lo… · stacktracejs/error-stack-parser@280acd5 · GitHub

File tree Expand file treeCollapse file tree 1 file changed

+1

-1

lines changed

Filter options

Expand file treeCollapse file tree 1 file changed

+1

-1

lines changed Original file line number Diff line number Diff line change

@@ -62,7 +62,7 @@

62 62 63 63

// capture and preseve the parenthesized location "(/foo/my bar.js:12:87)" in

64 64

// case it has spaces in it, as the string is split on \s+ later on

65 -

var location = sanitizedLine.match(/ (\((.+):(\d+):(\d+)\)$)/);

65 +

var location = sanitizedLine.match(/ (\(.+\)$)/);

66 66 67 67

// remove the parenthesized location from the line, if it was matched

68 68

sanitizedLine = location ? sanitizedLine.replace(location[0], '') : sanitizedLine;

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4