On Tue, 11 Nov 2008, Francis Galiegue wrote:nk So what does this script produce on your systems? #!/usr/bin/perl -Tw --8<-- use strict; my $ws =3D "To: \nCc:"; $ws =3D~ /^To:\s*(.+)\s*\nCc:/ism; if ($1 eq ' ') { =09print "\$1 is equal to a space.\n"; } -->8-- On mine, it prints the message. So it seems it is matching _a_ space. This resulted in an illegal recipient field. Junio's suggestion to change this to /^To:\s*(\S.+?)\s*\nCc:/ism worked beautifully.
| Justin C. Sherrill | Re: pkgsrc bulk build and tiff |
| Linus Torvalds | Linux 2.6.27-rc5 |
| Ingo Molnar | [crash, bisected] Kernel BUG at ffffffff8079afb1 (__netif_schedule()) |
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
git: | |
| Jarek Poplawski | [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| David Miller | [GIT]: Networking |
| Gerrit Renker | [PATCH 27/37] dccp: Integration of dynamic feature activation - part 2 (server side) |
| Evgeniy Polyakov | Re: tbench wrt. loopback TSO |
