On Friday 10 October 2003 23:16, Omar wrote:
> In this line
> preg_match("/[^a-z0-9'\?!-]", $item)
>
> i cant find de way to add vowels with accent (���,,,� and other
> characters to the preg_match function.
> Can anyone help me?
> The documentation of this function is not very clear (or complete) to me.
Have a look at the use of "\w" which matches "words". Which characters are
valid for words depends on your locale setting.
--
Jason Wong -> Gremlins Associates -> www.gremlins.biz
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
------------------------------------------
Search the list archives before you post
http://marc.theaimsgroup.com/?l=php-general
------------------------------------------
/*
I am the wandering glitch -- catch me if you can.
*/
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php