7.7. Regex Mask
Regex mask should start with
^ and end with
$ characters. The rest of the syntax follows the usual regular expression syntax.
Regex mask case-sensitivity depends on a usage context. When it is used in place of a glob mask, the regex mask is case-sensitive. When it is used in place of an assembly mask, the regex mask is case-insensitive.
Table 7.6. Regex mask examples
Matches any string, including an empty string
Matches any string starting with "ABC"
Matches any string ending with "DEF"
Matches any string starting with "ABC" and ending with "DEF"
Matches "ABCDEF" string exactly
Matches any string containing four characters and starting with "ABC"
Matches any string containing a single character
Matches any non-empty string