aboutsummaryrefslogtreecommitdiff
path: root/src/grammar.json
diff options
context:
space:
mode:
Diffstat (limited to 'src/grammar.json')
-rw-r--r--src/grammar.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/grammar.json b/src/grammar.json
index bc4e69c..150b1a5 100644
--- a/src/grammar.json
+++ b/src/grammar.json
@@ -180,11 +180,11 @@
},
"class_shorthand": {
"type": "PATTERN",
- "value": "\\.[a-zA-Z0-9_-]+"
+ "value": "\\.[^\\s]+"
},
"id_shorthand": {
"type": "PATTERN",
- "value": "#[a-zA-Z0-9_-]+"
+ "value": "#[^\\s]+"
},
"attribute_name": {
"type": "PATTERN",