From fd319b82ef9705e2e61ebe9f07c7d41accfcc2c0 Mon Sep 17 00:00:00 2001 From: Kevin Koech Date: Tue, 30 Jul 2024 16:00:20 +0300 Subject: [PATCH] Fix regex --- packages/hurumap-core/src/Scope/utils.js | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/hurumap-core/src/Scope/utils.js b/packages/hurumap-core/src/Scope/utils.js index 58526881b..8abb9837f 100644 --- a/packages/hurumap-core/src/Scope/utils.js +++ b/packages/hurumap-core/src/Scope/utils.js @@ -1,5 +1,6 @@ function idify(string) { return string + .toLowerCase() .replace(/^\s+|\s+$/g, "") .replace(/[^a-z0-9]/g, "") .replace(/\s+/g, "_")