Remarks to the syntax

Top  Previous  Next

Parsing texts > A typical structure of a mail text > Remarks to the syntax


The regular expressions in the TextTransformer are a little bit different from those in the Spamihilator. The TextTransformer expressions are looking for the longest possible match in the text and the Spamihilator expressions are looking for the first possible match. Also the analogy of the syntax of the TextTransformer productions with the syntax of the regular expressions is limited.For the details you have to study the help of the TextTransformer.. Here only the hint: the productions of the TextTransformer must obey to the so-called LL(1) principle at first, though this principle is extended by the possibility of look-aheads.