We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f84666d commit 6bfba56Copy full SHA for 6bfba56
lib/util.js
@@ -20,7 +20,7 @@ const REGEX_COMMENT = /\/\*[^]*?\*\//igm // non-greedy
20
const REGEX_DIRECTIVE = /\/\*\s*!?\s*rtl:[^]*?\*\//img
21
const REGEX_ESCAPE = /[.*+?^${}()|[\]\\]/g
22
const REGEX_FUNCTION = /\([^()]+\)/i
23
-const REGEX_HEX_COLOR = /#[a-f0-9]{3,6}/ig
+const REGEX_HEX_COLOR = /#[a-f0-9]{3,8}/ig
24
const REGEX_CALC = /calc/
25
const REGEX_TOKENS = new RegExp(PATTERN_TOKEN, 'ig')
26
const REGEX_TOKENS_WITH_NAME = new RegExp(PATTERN_TOKEN_WITH_NAME, 'ig')
0 commit comments