> If you want the [ to be escaped in the regex you have to "double-escape"
> $x = "\ \["; (sorry, the two \ should be together without a space but my
> stupid mail-app converts the string thinking it's an network address)
> so $x will contain "\[" as you want ( the first backslash escapes the
> second).

Hi Stefan,

Thanks very much for that, it does make sense :-)

Unfortunately it still hasn't fixed the problem... I suppose my question has
now boiled down to "do I need to escape !, <, or - in a regex?" :-)


PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to