Fix incorrect version detection when back reference is not matched

main
Elbert Alias 2 years ago
parent 2252c8cce0
commit 08ef520d47

@ -213,6 +213,9 @@ const Wappalyzer = {
.trim()
.replace(new RegExp(`\\\\${index}`, 'g'), match || '')
})
// Remove unmatched back references
resolved = resolved.replace(/\\\d/, '')
}
}