note 100732 deleted from reference.pcre.pattern.posix by danbrown
| From: | danbrown@php.net | Date: | Wed, 03 Nov 2010 14:45:10 +0000 |
| Subject: | note 100732 deleted from reference.pcre.pattern.posix by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-173712@lists.php.net to get a copy of this message | ||
Note Submitter: LGB
----
I think it's a very serious mistake to make ereg functions obsoleted. At least some
compatbility wrappers should be provided then, since preg_* functions can't be used as the
direct replacement of ereg functions, and I have huge projects with really monster regexps stored in
SQL, which I cannot modify (since other systems - not even PHP! - are using it), but I have to use
them in my PHP scripts. Since ereg functions were introduced years ago, we could hope that it's
"offical" and won't be "obsoleted" soon ... Now I need a solution to
convert ereg regexps into ones which can be "fed" with preg functions ... Not so funny :(