Re: Fwd: Validating email address
Re: Fwd: Validating email address
- Subject: Re: Fwd: Validating email address
- From: has <email@hidden>
- Date: Sat, 3 Dec 2005 10:56:15 +0000
Michael Ghilissen wrote:
>I think that the way to solve your problem is to use RegEx to macth a certain 'pattern' that meets the email address structure. One way to do this is using the 'TextCommands' FBA from Hamish (available at MacScripter). Unfortunately, I cannot figure out how the 'check' commands works.
Two things: First, make sure you're using version 1.0.1, as 'check' was broken in 1.0.0 (my bad). Second, your regex contains an invalid pattern ('++'), which is why it raises an error.
(The error message - "multiple repeat" - is rather vague, unfortunately, and doesn't show what the bad pattern actually is or indicate its position. You could file a feature request on Python's re library at <http://sourceforge.net/projects/python> if you like.)
HTH
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