Meta-characters

Top  Previous  Next

Scripts > Token definitions > Regular expressions > Meta-characters

 

In contrast to literals, where all characters designate themselves, regular expressions use some special Meta characters. Meta characters are used to define sets of characters, groupings and sequences.

 

Following characters are Meta characters:

 

'.', '|', '*', '?', '+', '(', ')', '{', '}', '[', ']', '^', '$' und '\'

 

If a Meta character in its literal meaning is needed, is must be preceded by the backslash '\'. 

 

 

Quoting escape

 

The escape sequence \Q begins a "quoted sequence": all the subsequent characters are treated as literals, until either the end of the regular expression or \E is found. For example the expression: \Q\*+\Ea+ would match either of:

 

\*+a
\*+aaa

 



This page belongs to the TextTransformer Documentation

Home  Content  German