Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: Validating email address
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Validating email address



Randal L. Schwartz wrote:

>has> property _emailPatt : "[A-Z0-9._%-]+@[A-Z0-9._%-]+\\.[A-Z]{2,4}" -- junky pattern
>
>Please stop repeating this broken pattern.

Would be glad to. However, my aim was only to demonstrate the code for matching REs via 'do shell script' and didn't have time to root around for a decent one, so I just grabbed what was nearest and flagged it to warn of its crapness. If you posted a decent pattern, apologies for missing that mail but I haven't been following the thread in detail, only the questions about TextCommands.

Cheers,

has
--
http://freespace.virgin.net/hamish.sanderson/
 _______________________________________________
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

References: 
 >Re: Validating email address (From: has <email@hidden>)
 >Re: Validating email address (From: email@hidden (Randal L. Schwartz))



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.