in reply to Regex Unexplained Failure

Not commenting on the rest, but here's where your's is broken for sure:
... \w*? ...
Please. Please no. Please dear gahd no. That's not what a valid email address even begins to look like.

Please follow the FAQ on this. Do not go off into useless territory.

-- Randal L. Schwartz, Perl hacker

Replies are listed 'Best First'.
Re: •Re: Regex Unexplained Failure
by Flame (Deacon) on Aug 04, 2002 at 00:23 UTC
    Ok, so while I now understand why that wouldn't work for all real addys, any idea why it's failing with CGI? Even if I'm not going to use this, and go with a module or something like Email::Valid, I'd still like to know what I'm doing wrong to cause it to fail.



    My code doesn't have bugs, it just develops random features.

    Flame ~ Lead Programmer: GMS