Concatenation |
Top Previous Next |
Scripts > Token definitions > Regular expressions > Concatenation
Hitherto only elements of regular expressions were explained, which matches single characters. From these and elements explained below, complex regular expressions can be constructed, to match lists of characters like words and numbers etc. The simplest manner for this is to write one element after the other. So each element recognizes one character of the whole list.
So the word "TETRA" consists of the regular elements "T", "E", "T", "R" and "A" But the same word would also be recognized by "[A-Z]E[^0-9]RA". This expression is more general than the first and also would match texts like "AE&RA" or "HEDRA". The principle is the same: The x'th element of the complex regular expression matches the x'th character.
|
This page belongs to the TextTransformer Documentation |
Home Content German |