| . |
matches any character |
| $ |
matches the end of a string |
| ^ |
matches the beginning of a string |
| X* |
matches none or several occurances of X |
| X+ |
matches one or more occurances of X |
| X? |
matches one or none occurance |
[ ] |
matches a range (e.g. [abc],[a-zäöüß], [^abc]
means neither |
| |
a nor b nor c) |
| \\(...\\) |
parenthesized expressions are handled like single characters. |
| |
This way '*', '+', '?', ...may be applied to more than |
| |
just single characters. |
X\\ Y |
matches either X or Y |
| { ...} |
for each bracketed expression a new variable is generated. |
| |
It is tied to the part of the string which matches the regular |
| |
expression within curly brackets. The variables are |
| |
#1, #2, ... starting from the left. |