aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/grammar.json4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/grammar.json b/src/grammar.json
index 960f0dd..e3e1f0a 100644
--- a/src/grammar.json
+++ b/src/grammar.json
@@ -180,11 +180,11 @@
},
"class_shorthand": {
"type": "PATTERN",
- "value": "\\.[^\\p{White_Space}]+"
+ "value": "\\.\\P{White_Space}+"
},
"id_shorthand": {
"type": "PATTERN",
- "value": "#[^\\p{White_Space}]+"
+ "value": "#\\P{White_Space}+"
},
"attribute_name": {
"type": "PATTERN",