It's probably the double quotes.  Either use single quotes, or double 
backslashes.  For example,

"<T>([\\da-z8]{1,})"

[EMAIL PROTECTED] wrote:

> From:             [EMAIL PROTECTED]
> Operating system: Win ME
> PHP version:      4.1.1
> PHP Bug Type:     Documentation problem
> Bug description:  regular expression problem
> 
> Documentation quote:
>      The character types \d, \D, \s, \S,  \w,  and  \W  may  also appear
> in  a  character  class, and add the characters that they match to the
> class.
> 
> So, I tried to match "<T>try8" with
> "<T>([\da-z]{1,})" and it won't work.
> 
> vs
> 
> "<T>([\da-z8]{1,})" work. !!
>  


-- 
PHP Development 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