aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/core/regex.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/core/regex.js')
-rw-r--r--src/modules/core/regex.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/modules/core/regex.js b/src/modules/core/regex.js
index a18c692..03d1fa3 100644
--- a/src/modules/core/regex.js
+++ b/src/modules/core/regex.js
@@ -1,5 +1,6 @@
// Parse unit value
-export const numberAndUnit = /^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i
+export const numberAndUnit =
+ /^([+-]?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?)([a-z%]*)$/i
// Parse hex value
export const hex = /^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i