Last analyzed 9c61c83 6 months ago
Default analysis branch is
Currently analyzing run
Bad usage of RegExp#exec and String#match JS-D007
Performance
6 months ago6 months old
Prefer RegExp#test() over RegExp#exec()
119    const pathElements = [];
120    let match;
121
122    while ((match = pathRegex.exec(path))) {123      const p = match[0].replace(/[{}?*;]/g, "");
124      if (pathElements.includes(p)) {
125        results.push(