From 7db982e8ba5f0ac76089db33f270144b93648930 Mon Sep 17 00:00:00 2001 From: Albin Date: Tue, 8 Sep 2020 09:33:53 +0200 Subject: [PATCH] Fixed regex in slugify method. --- src/wappalyzer.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wappalyzer.js b/src/wappalyzer.js index 46903e1ed..efc6d9a76 100644 --- a/src/wappalyzer.js +++ b/src/wappalyzer.js @@ -9,7 +9,7 @@ const Wappalyzer = { .toLowerCase() .replace(/[^a-z0-9-]/g, '-') .replace(/--+/g, '-') - .replace(/(?:^-|-$)/, '') + .replace(/(?:^-|-$)/g, '') }, getTechnology(name) {