something wrong w/ ereg() ?
| From: | ~~~i LeoNid ~~ | Date: | Thu, 05 Apr 2001 07:29:43 +0000 |
| Subject: | something wrong w/ ereg() ? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-6525@lists.php.net to get a copy of this message | ||
Are people here aware of specifics for implementation of all ereg~() functions?
It seemed, they didn't work for relatively complex comparisons (with long
strings) at least on Windows95.
Some of thier calls complain about about reg_expressions, like "?"
qualifiers, etc, some expressions - are not interpreted, as intended, and
for some - script even goes into stall without warning (never returns from
it nor crash!)
When I replace ereg~() with matching preg~() everything works, as
designed. I now even replace ereg~() for simple calls, where it works,
just in case.
Anybody has the same experience?
--
LeoN to e-mail: cut "auto_no." if present.
(.±.)
to think - is to speak quietly, to speak - is to think aloud
\~/
My posted articles archive: http://leo.portland.co.uk/doc00.htm