diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-10-28 02:15:21 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-10-28 02:15:21 +0200 |
commit | 2483cbddd9e7a02296bb928462ba7eb22551752d (patch) | |
tree | 53ca344996b9ed8db7e3b3fa609398692880a332 /src/grammar.json | |
parent | 497edc25a278edf743eef0b4ac1e31d079d3f4bf (diff) |
Allow ID- and class shorthands to have anythingv1.0.1
Diffstat (limited to 'src/grammar.json')
-rw-r--r-- | src/grammar.json | 4 |
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", |