Am Donnerstag, 02.10.03 um 01:37 Uhr schrieb Cristian Lavaque:
doh, I now understand your question, you don't mean the asterisk literally,
but as any character that follows a backslash... sorry -_-

that's right ;) -- anyway, thanks for your effort!


my problem was that i misunderstood the escape-the-meta-char-idea (see below).


Am Mittwoch, 01.10.03 um 23:23 Uhr schrieb Curt Zirzow:
'\\' always gets translated to '\' So the string:

'/(\\)/' translates to '/(\)/' which is an invalid regex, you'll
get a complaint about unclosed paren.

this is also a bit tricky:
echo "beg \\ end\n";
echo "beg \ end\n";

c) Why do I hate regular expressions so much?

perhaps because you're using them wrong.
klugscheisser ;)

I've answered all 5 of em so far.
thanks, your answers helped a lot!

- jns

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to