procmail
[Top] [All Lists]

End of line matching

2005-06-15 20:36:47
* Ruud H.G. van Tol <rvtol(_at_)isolution(_dot_)nl> [2005-06-15 03:33]:

  :0
  * B ?? ()\/^.*^.*^.*^.*^.*^.*(^ *)*^^
  * MATCH ?? ()\<\/[-_a-z0-9(_dot_)]+(_at_)[-_a-z0-9(_dot_)]+
  { SIGADD = "$MATCH" }

Not bad.  That's simpler than I would have figured for procmail.  I've
not yet been tempted to code a procmail reguler expression that spans
multiple lines.  I would have figured it to look more like this:

  * B ?? ()\/^.*$^.*$^.*$^.*$^.*$^.*$(^ *)*^^

I suppose that would work too.  Does the "." metacharacter match the
end of line as well?

____________________________________________________________
procmail mailing list   Procmail homepage: http://www.procmail.org/
procmail(_at_)lists(_dot_)RWTH-Aachen(_dot_)DE
http://MailMan.RWTH-Aachen.DE/mailman/listinfo/procmail