Actually detect endings in stack frame regex, and not a literal $
This commit is contained in:
parent
1a97d4ee09
commit
fb82fb820a
|
@ -6,7 +6,7 @@ const execall = require("execall");
|
|||
const defaultValue = require("default-value");
|
||||
|
||||
// I'm so, so sorry...
|
||||
let lineRegex = /\s+at\s+(?:(?:([^\[$\n]+)\[as ([^\]]+)\] |([^\($\n]+))\(([^\)\n]+)\)|([^\n]+))(?:\n|$)/gm;
|
||||
let lineRegex = /\s+at\s+(?:(?:((?:[^\[$\n]|$)+)\[as ([^\]]+)\] |((?:[^\(\n]|$)+))\(([^\)\n]+)\)|([^\n]+))(?:\n|$)/gm;
|
||||
let positionRegex = /(.+):(\d+):(\d+)/;
|
||||
|
||||
function maybeTrim(value) {
|
||||
|
|
Loading…
Reference in a new issue