Saturday January 17, 2004
Need Advice: Robot Parsing Templates
One of my current private projects is to develope an email parsing robot (called via sendmail's .forward) which should process templates sent to it.
Until now I created my own regexp set to parse each type of template style to match the layout - but i don't really like that.
The problem is that I would like osupport _other_ template formats of commercial products with related functions and values in addition to my "own" format.
Isn't there some kind of template abstraction available?
Maybe a ABNF (Backus-Naur) Parser?
I recently tried Template::Extract but it's too "strict" and unflexible for my needs as far as i can see it.