diff --git a/src/wappalyzer.js b/src/wappalyzer.js index 7c168ea64..3ce82e235 100644 --- a/src/wappalyzer.js +++ b/src/wappalyzer.js @@ -213,6 +213,9 @@ const Wappalyzer = { .trim() .replace(new RegExp(`\\\\${index}`, 'g'), match || '') }) + + // Remove unmatched back references + resolved = resolved.replace(/\\\d/, '') } }