Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

Re: Re: Hiding mail addresses in mailto: with JavaScript

by projekt21 (Friar)
on Oct 24, 2003 at 19:24 UTC ( #301938=note: print w/replies, xml ) Need Help??


in reply to Re: Hiding mail addresses in mailto: with JavaScript
in thread Hiding mail addresses in mailto: with JavaScript

Thanks for that hint and for caring about my fingers ;-) but I thought that /[hH][rR][eE][fF]/ was cheaper than /href/i. Am I wrong on that?

alex pleiner <alex@zeitform.de>
zeitform Internet Dienste

Replies are listed 'Best First'.
Re(3): Hiding mail addresses in mailto: with JavaScript
by talexb (Canon) on Oct 25, 2003 at 01:46 UTC

    Your original regex may be cheaper than the one that uses the i option, but the difference is so miniscule as to not matter. At that point, clarity is more important than speed.

    --t. alex
    Life is short: get busy!

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others romping around the Monastery: (4)
As of 2021-04-16 22:56 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found

    Notices?