-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
Daniel Quinlan writes: > [EMAIL PROTECTED] writes: > > > + if (/(?:return-path:? |envelope-(?:sender|from)[ =])(\S+)\b/i) { > > $envfrom = $1; > > } > > Should we just look for > > /\b(?:return-path|envelope-(?:sender|from))[ =:])\s*(\S+)\b/i > > ? /\b(?:return-path|envelope-(?:sender|from))[\s=:]+(\S+)\b/i would do the trick, I think. should be a trivial change ;) > (I assume we remove paired ["'<>] at start and end somewhere later too, > by the way.) <>, yes, quotes, no. (I haven't seen those in any messages; quotes are the RFC-822 way to denote it.) - --j. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) Comment: Exmh CVS iD8DBQFBYZuxQTcbUG5Y7woRAvxSAJ9DRaULSPys7gU3FFL480/vlmlCWACeM9Om UxOIn9sLAge18qs6FHD0o7c= =10UY -----END PGP SIGNATURE-----