in reply to (ichimunki) Re: E-mail Redirect (for protecting addresses from E-mail-Address-Collecting Bots)
in thread E-mail Redirect (for protecting addresses from E-mail-Address-Collecting Bots)

Hi ichimunki,

"Don't allow non-word characters in your input variables-- they aren't necessary in an email address are they?"

...is what you are asking, take a look at this: sender@registry-A.registry-1.organization-X which is cut from rfc822. I have seen emailaddresses containing numbers and underscores, too. Emailaddresses definitely don't have to consist out of word-elements.



--
there are no silly questions
killerhippy
  • Comment on Re: (ichimunki) Re: E-mail Redirect (for protecting addresses from E-mail-Address-Collecting Bots)

Replies are listed 'Best First'.
(ichimunki) Re x 3: E-mail Redirect (for protecting addresses from E-mail-Address-Collecting Bots)
by ichimunki (Priest) on Sep 06, 2001 at 16:51 UTC
    You are absolutely correct. Any detainting regex should allow @ - and . which are non-word characters that are found in valid email addresses. But only in specific forms. Numbers and underscores will match \w in RE, so those don't need to be considered separately.