Fixed regex in slugify method.

main
Albin 4 years ago
parent 279345c5d4
commit 7db982e8ba

@ -9,7 +9,7 @@ const Wappalyzer = {
.toLowerCase()
.replace(/[^a-z0-9-]/g, '-')
.replace(/--+/g, '-')
.replace(/(?:^-|-$)/, '')
.replace(/(?:^-|-$)/g, '')
},
getTechnology(name) {