On Sun, 13 Jan 2002, Peter J. Schoenster wrote:

> You might want to look at the regular expression constructed by
> Jeffrey Friedl as described here:
>
> http://builder.cnet.com/webbuilding/pages/Programming/Scripter/05
> 2098/ss01.html

In this example \w matches any "word" character. A word character can be
any character specified by the current locale, including accents, etc., so
I suggest using [a-z0-9_] instead of \w.

-- 
 Gabor Gludovatz <[EMAIL PROTECTED]>  -  Phone: +36 (20) 9 109 129
         http://www.sopron.hu/~ggabor/  -  ICQ# 861 404


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to