RE: [PHP-WIN] something wrong w/ ereg() ?
| From: | Asendorf, John | Date: | Thu, 05 Apr 2001 14:33:27 +0000 |
| Subject: | RE: [PHP-WIN] something wrong w/ ereg() ? | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-6538@lists.php.net to get a copy of this message | ||
I've had a lot of good luck using ereg* functions.... As a book learning
kind of person, I read Mastering Regular Expressions by Jeffrey Friedl and
have yet to have a major problem.
Then again, I haven't had any experience with other implementations of regex
so I may be missing something.
---------------------
John Asendorf - jasendorf@lcounty.com
Web Applications Developer
http://www.lcounty.com - NEW FEATURES ADDED DAILY!
Licking County, Ohio, USA
740-349-3631
Aut insanit homo, aut versus facit
> -----Original Message-----
> From: ~~~i LeoNid ~~ [mailto:ill.i_ada@auto_no.leo.portland.co.uk]
> Sent: Thursday, April 05, 2001 8:18 AM
> To: php-windows@lists.php.net
> Subject: [PHP-WIN] something wrong w/ ereg() ?
>
>
> Are people here aware of specific 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
>
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net
> For additional commands, e-mail: php-windows-help@lists.php.net
> To contact the list administrators, e-mail:
> php-list-admin@lists.php.net
>