Please enter the text to find and press Search.
Sorry

An error occurred during search results load.

7.7. Regex Mask

Regex mask is a text pattern format based on regular expressions. It is supported wherever a glob or assembly mask is supported.

7.7.1. Syntax

Regex mask should start with ^ and end with $ characters. The rest of the syntax follows the usual regular expression syntax.

7.7.2. Behavior

Regex mask case-sensitivity depends on a usage context. When it is used in place of glob mask, regex mask is case-sensitive. When it is used in place of assembly mask, regex mask is case-insensitive.

7.7.3. Examples

Table 7.6. Regex mask examples

Regex MaskDescription
^.*$ Matches any string, including an empty string
^ABC.*$ Matches any string starting with "ABC"
^.*DEF$ Matches any string ending with "DEF"
^ABC.*DEF$ Matches any string starting with "ABC" and ending with "DEF"
^ABCDEF$ Matches "ABCDEF" string exactly
^ABC.$ Matches any string containing four characters and starting with "ABC"
^.$ Matches any string containing a single character
^.+$ Matches any non-empty string

Sorry

An error occurred during page load.
You can try again or go back.