#39391 [Opn->Csd]: preg_replace() as faster alternative to ereg() in the french ereg() manual
| From: | yannick@php.net | Date: | Mon, 06 Nov 2006 04:41:08 +0000 |
| Subject: | #39391 [Opn->Csd]: preg_replace() as faster alternative to ereg() in the french ereg() manual | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969374330@lists.php.net to get a copy of this message | ||
ID: 39391
Updated by: yannick@php.net
Reported By: fc at ambika dot fr
-Status: Open
+Status: Closed
Bug Type: Documentation problem
Operating System: *
PHP Version: Irrelevant
New Comment:
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.
Thank you for the report, and for helping us make our documentation
better.
Previous Comments:
------------------------------------------------------------------------
[2006-11-05 22:41:49] fc at ambika dot fr
Description:
------------
The french translation of the PHP manual for the ereg() function claims
that the preg_replace() as faster alternative to ereg().
This is a non-sense : we have to talk about preg_match() instead of
preg_replace(), as it was done in the english manual.
Reproduce code:
---------------
See the french translation ot the PHP manual for the ereg() function.
E.g. : http://fr2.php.net/ereg
Expected result:
----------------
Note : preg_match(), qui utilise la syntaxe des expressions
rationnelles compatibles PERL, est une alternative plus rapide de
ereg().
ereg() recherche dans la chaîne string les séquences de caractères qui
correspondent au masque pattern, en tenant compte de la casse.
Actual result:
--------------
Note : preg_replace(), qui utilise la syntaxe des expressions
rationnelles compatibles PERL, est une alternative plus rapide de
ereg_replace().
preg_replace() recherche dans la chaîne string les séquences de
caractères qui correspondent au masque pattern, en tenant compte de la
casse.
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39391&edit=1