note 93749 deleted from book.regex by danbrown
| From: | danbrown@php.net | Date: | Fri, 25 Sep 2009 16:41:00 +0000 |
| Subject: | note 93749 deleted from book.regex by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-161052@lists.php.net to get a copy of this message | ||
Note Submitter: alejandro at devenet dot net
----
If preg is deprecated in php 5.3 and removed from php 6.0, for incentive the use of PCRE, maybe the
php people must check for a full multibyte support to that functions.
I love PCRE and use that functions for years. But, when I try to migrate from iso-8859-1 to utf-8,
that functions (PCRE functions) going down. Thousands of code lines are make hundred of mistakes.
If PCRE is the selected group of regular functions, that can be good news, if (only if) that
functions are multibyte supported.
If not, maybe a lot of people can forget use regular expressions.
---
Si el uso de las funciones para expresiones regulares compatibles con POSIX han sido declaradas
obsoletas en php 5.3 y serán eliminadas en php 6.0 en favor de PCRE, entonces deberán asegurar
el funcionamiento de las funciones PCRE en multibyte.
Desde siempre PCRE me ha parecido mejor, pero cuando he migrado mi código para que funcione con
utf-8, las funciones PCRE no han funcionado correctamente. Miles de lÃneas han dejado de
funcionar y han tenido que ser reparadas con el consiguiente costo y tiempo perdido.
Programo en múltiples idiomas y requiero que el soporte para multibyte sea real y verdadero. Si
PCRE es lo que la gente de php ha elegido, entonces deberán dar el paso correcto con el soporte
multibyte que actualmente tienen las funciones de expresiones regulares compatibles con POSIX.