Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

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

by khippy (Scribe)
on Sep 06, 2001 at 13:23 UTC ( [id://110527]=note: print w/replies, xml ) Need Help??


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.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://110527]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others browsing the Monastery: (2)
As of 2024-04-25 20:27 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found