aboutsummaryrefslogtreecommitdiffstats
path: root/src/selector/var/identifier.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/selector/var/identifier.js')
-rw-r--r--src/selector/var/identifier.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/selector/var/identifier.js b/src/selector/var/identifier.js
index 03af0ddf3..d7e77ca4d 100644
--- a/src/selector/var/identifier.js
+++ b/src/selector/var/identifier.js
@@ -1,5 +1,5 @@
-import whitespace from "../../var/whitespace.js";
+import { whitespace } from "../../var/whitespace.js";
// https://www.w3.org/TR/css-syntax-3/#ident-token-diagram
-export default "(?:\\\\[\\da-fA-F]{1,6}" + whitespace +
+export var identifier = "(?:\\\\[\\da-fA-F]{1,6}" + whitespace +
"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+";