Re: Validating email address
Re: Validating email address
- Subject: Re: Validating email address
- From: has <email@hidden>
- Date: Sun, 4 Dec 2005 23:36:16 +0000
Bernardo Höhl wrote:
>I just pasted you code on Script editor and tried it.
>
>It apparently works ok, but it fails to accept spaces in the email string.(quoted or not)
>
>Am I missing something?
Don't use the crappy pattern that I included for demonstration purposes; use the one that Randall indicated.
BTW, you'd be best to extract it straight from the source file rather than from the webpage, just to be sure you don't lose and/or gain any whitespace you shouldn't. If you're inserting it into a script as a string literal, make sure you backslash-escape everything correctly.
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