forked from external/yambar
doc: particles: remove trailing spaces
This commit is contained in:
parent
20d48a753b
commit
e1b6a78f22
1 changed files with 4 additions and 4 deletions
|
@ -268,21 +268,21 @@ To match for empty strings, use ' "" ':
|
||||||
String glob matching
|
String glob matching
|
||||||
|
|
||||||
To perform string matching using globbing with "\*" & "?" characters:
|
To perform string matching using globbing with "\*" & "?" characters:
|
||||||
\* Match any zero or more characters.
|
\* Match any zero or more characters. ? Match exactly any one
|
||||||
? Match exactly any one character.
|
character.
|
||||||
|
|
||||||
```
|
```
|
||||||
<tag> ~~ "hello*"
|
<tag> ~~ "hello*"
|
||||||
```
|
```
|
||||||
|
|
||||||
Will match any string starting with "hello", including "hello",
|
Will match any string starting with "hello", including "hello",
|
||||||
"hello1", "hello123", etc.
|
"hello1", "hello123", etc.
|
||||||
|
|
||||||
```
|
```
|
||||||
<tag> ~~ "hello?"
|
<tag> ~~ "hello?"
|
||||||
```
|
```
|
||||||
|
|
||||||
Will match any string starting with "hello" followed by any single
|
Will match any string starting with "hello" followed by any single
|
||||||
character, including "hello1", "hello-", but not "hello".
|
character, including "hello1", "hello-", but not "hello".
|
||||||
|
|
||||||
Furthermore, you may use the boolean operators:
|
Furthermore, you may use the boolean operators:
|
||||||
|
|
Loading…
Add table
Reference in a new issue