note 24298 deleted from function.ereg by maxim
| From: | maxim@php.net | Date: | Mon, 12 Aug 2002 19:52:43 +0000 |
| Subject: | note 24298 deleted from function.ereg by maxim | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-34888@lists.php.net to get a copy of this message | ||
I´m sorry, this is just a LITTLE CORRECTION for my note. If you (admin) can EDIT and CORRECT it, I
would apreciate. Here it goes the definitively one. Thanks! (Added the Ç and ç).
FINAL NOTE:
In addition to JC comment, about non US languages, I´m adding a specific
way of checking portuguese words, with JUST used characters, like ã, é, ú,
ô. In portuguese, the å or è is not used.
I suggest this expression:
$portuguese_expr='^[A-Za-zÁáÂâÃãÀàÉéÍíÓóÕõÔôÚúÜüÇç]{1,}$';