RE: [PHP-NOTES] note 24298 added to function.ereg
| From: | Maxim Maletsky | Date: | Mon, 12 Aug 2002 19:54:22 +0000 |
| Subject: | RE: [PHP-NOTES] note 24298 added to function.ereg | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-34889@lists.php.net to get a copy of this message | ||
Done.
Original comment was edited and the sequent comment removed.
Maxim Maletsky
> -----Original Message-----
> From: ferlopes@hotmail.com [mailto:ferlopes@hotmail.com]
> Sent: Monday, August 12, 2002 8:16 PM
> To: php-notes@lists.php.net
> Subject: [PHP-NOTES] note 24298 added to function.ereg
>
> 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,}$';
> --
> http://www.php.net/manual/en/function.ereg.php
> http://master.php.net/manage/user-notes.php?action=edit+24298
> http://master.php.net/manage/user-notes.php?action=delete+24298
> http://master.php.net/manage/user-notes.php?action=reject+24298
>
>
> --
> PHP Notes Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php