Regular Expressions and Character Sets
Regular Expression Syntax
This table shows the Check Point implementation of standard regular expression metacharacters.
|
Metacharacter |
Name |
Description |
|---|---|---|
|
\ |
Backslash |
Escape metacharacters. Non-printable characters. Character types. |
|
[ ] |
Square Brackets |
Character class definition. |
|
( ) |
Parenthesis |
Sub-pattern, to use metacharacters on the enclosed string. |
|
{min[,max]} |
Curly Brackets |
Min / Max Quantifier:
|
|
. |
Dot |
Match any character. |
|
? |
Question Mark |
Zero or one occurrences of preceding pattern (equals |
|
* |
Asterisk |
Zero or more occurrences of preceding pattern. |
|
+ |
Plus Sign |
One or more occurrences of preceding pattern (equals |
|
| |
Vertical Bar |
Alternative. |
|
^ |
Circumflex |
Anchor pattern to beginning of buffer (usually a word). |
|
$ |
Dollar |
Anchor pattern to end of buffer (usually a word). |
|
- |
Hyphen |
Range in character class. |
Special Characters in Gaia Clish
For the "?" character, press the CTRL V keys and then press the SHIFT ? keys.
For the "\" character, enter \\.