Re: Validating email address
Re: Validating email address
- Subject: Re: Validating email address
- From: email@hidden (Randal L. Schwartz)
- Date: 04 Dec 2005 12:07:56 -0800
>>>>> "has" == has <email@hidden> writes:
>> Please stop repeating this broken pattern.
has> Would be glad to. However, my aim was only to demonstrate the
has> code for matching REs via 'do shell script' and didn't have time
has> to root around for a decent one, so I just grabbed what was
has> nearest and flagged it to warn of its crapness. If you posted a
has> decent pattern, apologies for missing that mail but I haven't
has> been following the thread in detail, only the questions about
has> TextCommands.
Repeating this for you (and for the thread, in case people are confused
again)...
See <http://www.ex-parrot.com/~pdw/Mail-RFC822-Address.html>.
The regex is listed there, as well as being inside that indicated
Perl module.
You're not going to pass that in "do shell script". Best to install
the Perl module and call Perl for your validation.
--
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
<email@hidden> <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!
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden