Glob regular expressions
Use Glob regular expressions in the Configuration Editor to define a partial match.
Purpose
When defining a partial match (not a full match which is denoted by a single asterisk and nothing more) in the Configuration Editor, you must use Glob regular expressions.
Glob Expressions
- ?
- Matches any one character. For example:
“1?3” would match “123” and “133,” but not “12.”
- *
- Matches as many characters as possible, but can match 0. For example:
“12*” would match “12” and “123,” but not “1.”
- 12.*.5.??
- Combines the ? (match one character) and * (match as many characters
as possible) expressions. For example:
“12.*.5.??” would match “12.3.5.67” and “12.33.5.67” but not “12.3.5.6.”
- [XYZ]
- Matches any of the characters between the brackets. For example:
“[123]” would match “1” and “3,” but not “123.”
- [XYZ][ABC]
- Matches any of the characters between each pair of brackets, but
nothing more. For example:
“[123][789]” would match “17” and “38,” but not “171” or “12.”
- [XYZ][ABC]
- Matches any of the characters between each pair of brackets, but
nothing more. For example:
“[123][789]” would match “17” and “38,” but not “171” or “12.”
- [XYZ]*
- Matches any of the characters between the brackets, plus any other
additional characters. For example:
“[123]*” would match “1” and “1999.”
- [!XYZ]
- Matches any character but ones between the brackets. For example:
“[!123]” would match “4,” and “8,” but not “3.”
A dash (-) indicates a range, unless it is the first or last character. For example:
“[1-3]” would match “2,” but not “4.”