Scripting Wildcards » History » Version 3
Per Amundsen, 05/24/2018 10:05 AM
1 | 1 | Per Amundsen | h1. Wildcards |
---|---|---|---|
2 | |||
3 | Wildcard characters are special characters that are interpreted when comparing text. |
||
4 | |||
5 | There are three meaningful wildcard characters: |
||
6 | |||
7 | 3 | Per Amundsen | <notextile>? - matches a single character</notextile> |
8 | <notextile* - matches everything (including nothing)</notextile> |
||
9 | <notextile& - matches a whole word if used alone</notextile> |
||
10 | 1 | Per Amundsen | |
11 | For example the expression "t*s a *?t" matches the string "this is a text" |
||
12 | |||
13 | If & is not used alone it matches the plain text '&' character |
||
14 | |||
15 | "test &" matches "test this" or "test that" |
||
16 | |||
17 | "test &his" matches only "test &his" |
||
18 | |||
19 | "test thi&" matches only "test thi&" |
||
20 | |||
21 | "test th&s" matches only "test th&s" |