--- Scott Lutz <[EMAIL PROTECTED]> wrote:
>
> Why is it that you have to "\" out the @ symbol in the
> regex below?

Because scalars, arrays and suchlike are stuffed into the
regex before it is compiled.  Rather like a regex version
of double quotes (and why quotemeta() exists).

Use single quotes on the match, which will stop this
behavour - giving what you expected.  I.e.
m'[EMAIL PROTECTED]'

Jonathan Paton 

__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.com

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to