email edit
Jay R. Ashworth
jra at baylink.com
Tue Oct 31 10:04:23 PST 2006
On Tue, Oct 31, 2006 at 10:06:52AM -0500, Nancy Palmquist wrote:
> One I have used is the following:
>
> email: [{!" "!}] { {A} | {N} | clean }
> clean: {!">"! | !","! | !"$"! | !"%"! | !"<"! | !"?"! | !"#"! | * }
"%" is still valid on the LHS of an email address. It's not too
*common* anymore... but it's still in use.
As is "+".
> That eliminated most of the garbage, but I recently ran across a company
> that allowed their email addresses to contain apostrophes, a real bad
> character in my view. Hard to edit for in filePro.
>
> But maybe this would be better:
>
> some: {{A} | {N} | clean}
> email: [{!" "!}] some "@" some "." some
>
> Just include in the CLEAN edit all the characters that are never allowed
> in any part of an email address. You are not able to check for
> apostrophes or quotes, but all others will work.
>
> Domains are hard to restrict, they keep adding new ones so I try not to
> worry about it.
No, but it is useful to validate the RHS for "At least one dot", though
it might not be all that easy...
Cheers,
-- jra
--
Jay R. Ashworth jra at baylink.com
Designer Baylink RFC 2100
Ashworth & Associates The Things I Think '87 e24
St Petersburg FL USA http://baylink.pitas.com +1 727 647 1274
"That's women for you; you divorce them, and 10 years later,
they stop having sex with you." -- Jennifer Crusie; _Fast_Women_
More information about the Filepro-list
mailing list