>>>>> "Scot" == Scot Robnett <[EMAIL PROTECTED]> writes:
Scot> Hey y'all, I got over my brain cramp and thought I'd share with the group in Scot> case it helps anyone trying to do something similar. I was making it way too Scot> complicated. All I needed was: Scot> if($email !~ /\w+@\w+\.\w{2,4}/) Scot> { Scot> # error stuff here Scot> } And this is wrong, for many meanings of the word "wrong". Please do not use this form of a regex. Please. Don't. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 <[EMAIL PROTECTED]> <URL:http://www.stonehenge.com/merlyn/> Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training! -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]