regexp matching question

Peter plp-ysDPMY98cNQDDBjDh4tngg at public.gmane.org
Wed Oct 5 09:33:15 UTC 2005


Hi all

I need to match email messages using regexec(3). I would like to match 
as much as possible in a piece, i.e. the interesting headers and the 
body (which could be large). Can this be done and is it economical 
(speedwise) to use a single hairy regexp to match the whole message or 
is it better to match the message and then parse it ? formail already 
does this somehow (I have not looked yet).

Peter
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list