Project

General

Profile

Scripting Wildcards » History » Version 5

Per Amundsen, 07/30/2018 06:45 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 4 Per Amundsen
<notextile>* - matches everything (including nothing)</notextile>
9
<notextile>& - matches a whole word if used alone</notextile>
10 1 Per Amundsen
11 5 Per Amundsen
For example the expression *t*s a *?t* matches the string *this is a text*
12 1 Per Amundsen
13
If & is not used alone it matches the plain text '&' character
14
15 5 Per Amundsen
*test &* matches *test this* or *test that*
16 1 Per Amundsen
17 5 Per Amundsen
*test &his* matches only *test &his*
18 1 Per Amundsen
19 5 Per Amundsen
*test thi&* matches only *test thi&*
20 1 Per Amundsen
21 5 Per Amundsen
*test th&s* matches only *test th&s*