How It Works
The following table lists the special characters that you can use in regex rule expressions.
Convention | Description |
---|---|
* | Zero or more characters. |
+ | Zero or more repeated instances of the token preceding the +. |
? | Zero or one character. |
\character | Escaped character. |
\? | Match on a question mark (\<ctrl-v>?) |
\+ | Match on a plus sign |
\* | Match on an asterisk |
\a | Alert (ASCII 7) |
\b | Backspace (ASCII 8) |
\f | Form-feed (ASCII 12) |
\n | New line (ASCII 10) |
\r | Carriage return (ASCII 13) |
\t | Tab (ASCII 9) |
\v | Vertical tab (ASCII 11) |
\0 | Null (ASCII 0) |
\\ | Back slash |
Bracketed range [0-9] | Matching any single character from the range. |
A leading ^ in a range | No match in the range. All other characters represent themselves. |
.\x## | Any ASCII character as specified in two-digit hex notation. For example, \x5A yields a ‘Z’. |
The following diagram illustrates the regex rule configuration through RCM:
