note 93749 added to book.regex
| From: | alejandro at devenet dot net | Date: | Fri, 25 Sep 2009 15:46:24 +0000 |
| Subject: | note 93749 added to book.regex | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-161051@lists.php.net to get a copy of this message | ||
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.
----
Server IP: 69.147.83.197
Probable Submitter: 200.87.130.85
----
Manual Page -- http://www.php.net/manual/en/book.regex.php
Edit -- https://master.php.net/note/edit/93749
Del: integrated -- https://master.php.net/note/delete/93749/integrated
Del: useless -- https://master.php.net/note/delete/93749/useless
Del: bad code -- https://master.php.net/note/delete/93749/bad+code
Del: spam -- https://master.php.net/note/delete/93749/spam
Del: non-english -- https://master.php.net/note/delete/93749/non-english
Del: in docs -- https://master.php.net/note/delete/93749/in+docs
Del: other reasons-- https://master.php.net/note/delete/93749
Reject -- https://master.php.net/note/reject/93749
Search -- https://master.php.net/manage/user-notes.php