Parser errors

Top  Previous  Next

Parsing texts > Parser errors

 

Unfortunately, it isn't so easy to design a "general mail parser". If you try it, you will encounter lots of surprises. E.g. a mail of the following kind:

 

 

---------

 

(English version in the 2nd part of this mail.)

=====================================================

 

 

Hallo My_Name,

 

blah blah blah

 

Herzliche Grüße

 

Dein Fettie

 

 

...

 

-----------

 

 

With the production above:

 

mail ::= salutation text greeting

 

This mail cannot be parsed, because there is another text in front of the salutation. You can adjust the filter for such cases.