diff --git a/webapp/javascript/util/format.js b/webapp/javascript/util/format.js index c328f50781..60d906f399 100644 --- a/webapp/javascript/util/format.js +++ b/webapp/javascript/util/format.js @@ -134,12 +134,13 @@ export class ObjectsFormatter { export function getPackageNameFromStackTrace(spyName, stackTrace) { // TODO: actually make sure these make sense and add tests const regexpLookup = { + default: /^(?(.*\/)*)(?.*)(?.*)$/, + dotnetspy: /^(?.+)\.(.+)\.(.+)\(.*\)$/, + ebpfspy: /^(?.+)$/, + gospy: /^(?(.*\/)*)(?.*)(?.*)$/, + phpspy: /^(?(.*\/)*)(?.*\.php+)(?.*)$/, pyspy: /^(?(.*\/)*)(?.*\.py+)(?.*)$/, rbspy: /^(?(.*\/)*)(?.*\.rb+)(?.*)$/, - gospy: /^(?(.*\/)*)(?.*)(?.*)$/, - ebpfspy: /^(?.+)$/, - dotnetspy: /^(?.+)\.(.+)\.(.+)\(.*\)$/, - default: /^(?(.*\/)*)(?.*)(?.*)$/, }; if (stackTrace.length === 0) {