Re: preg_match

From: Date: Fri, 10 Oct 2003 17:04:09 +0000
Subject: Re: preg_match
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-165768@lists.php.net to get a copy of this message
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. */

« previous php.general (#165768) next »