File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -115,15 +115,15 @@ what they expand to.
115
115
116
116
```
117
117
query-str := $bom? query
118
- query := selector q-ws* "||" q-ws* query | selector
119
- selector := filter q-ws* selector-operator q-ws* selector-subsequent | filter
120
- selector-subsequent := matchers q-ws* selector-operator q-ws* selector-subsequent | matchers
118
+ query := selector q-ws+ "||" q-ws+ query | selector
119
+ selector := filter q-ws+ selector-operator q-ws+ selector-subsequent | filter
120
+ selector-subsequent := matchers q-ws+ selector-operator q-ws+ selector-subsequent | matchers
121
121
selector-operator := ">>" | ">" | "++" | "+"
122
122
filter := "top(" q-ws* ")" | matchers
123
123
matchers := type-matcher $string? accessor-matcher* | $string accessor-matcher* | accessor-matcher+
124
124
type-matcher := "(" q-ws* ")" | $type
125
125
accessor-matcher := "[" q-ws* (comparison | accessor)? q-ws* "]"
126
- comparison := accessor q-ws* matcher-operator q-ws* ($type | $string | $number | $keyword)
126
+ comparison := accessor q-ws+ matcher-operator q-ws+ ($type | $string | $number | $keyword)
127
127
accessor := "val(" q-ws* $integer q-ws* ")" | "prop(" q-ws* $string q-ws* ")" | "name(" q-ws* ")" | "tag(" q-ws* ")" | "values(" q-ws* ")" | "props(" q-ws* ")" | $string
128
128
matcher-operator := "=" | "!=" | ">" | "<" | ">=" | "<=" | "^=" | "$=" | "*="
129
129
You can’t perform that action at this time.
0 commit comments