Re: Ugh? Re: [PEAR-DEV] preg_replace/str_replace Re: [PEAR-DEV] Re: IT[X] fork, round 2

From: Date: Wed, 12 Feb 2003 21:20:50 +0000
Subject: Re: Ugh? Re: [PEAR-DEV] preg_replace/str_replace Re: [PEAR-DEV] Re: IT[X] fork, round 2
References: 1 2 3 4 5 6  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-13209@lists.php.net to get a copy of this message
Alexey Borzov wrote:
Well, it seems both of you does not match the problem. I have many apps running with IT. These apps use preg and everything to do with preg has be done. Now, drop preg, what happens ? That's why I'm against to drop preg ***BY DEFAULT***. And finally, try to be pollite and everything will go fine and fast :)
Translating this into plain English: there is a well known bug in the public package I maintain. In my private applications I have some workarounds for it. Now, I don't want to bother changing my applications, so don't want anyone to fix a bug in the package.
Without looking at the code (and never using IT), I would guess it's possible to do something like ->addBlock('([a-z]{4})','please \\1 down', $template); With str_replace instead of preg_replace that would no longer work. hope that helps to end the discussion Matthias

« previous php.pear.dev (#13209) next »