David Budd wrote:
I thought this was working, but my logs just showed a case where it seems not 
to do what I want.
Why does:
$OK_body=($body=~/library\s*?card\D*?(\d{7})\D/i) ;
Not become true when $body contains:
Library Card: 0240742

Just possibly there's some dodgy html or something in the original that doen't 
make it through to my logs, but right now I'm perplexed

Having looked at other replies to this, isn't it irrelevant what comes after the "(\d{7})" part of the re.

--
Regards
       John McMahon  ([EMAIL PROTECTED])




--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.6/111 - Release Date: 23/09/2005

_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to