note 24254 modified in function.ereg by maxim

From: Date: Mon, 12 Aug 2002 19:52:34 +0000
Subject: note 24254 modified in function.ereg by maxim
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-34887@lists.php.net to get a copy of this message
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,}$'; --was-- 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

« previous php.notes (#34887) next »