Re: Regex

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



>#[0-9a-zA-Z,\.]#
> >
>
> You should escape out that period as it will match any character otherwise.
> Thanks,
> Ash
>

Ash, Thats not true. In character class only meta-characters are \ ^ - [
and ]. This is the rule of PCRE (see
http://www.pcre.org/pcre.txt<http://www.pcre.org/pcre.txt#CHARACTERS%20AND%20METACHARACTERS>).
I assume we are talking about pcre as everybody used delimiter here which
is required in pcre.

-- 
Shiplu.Mokadd.im
ImgSign.com | A dynamic signature machine
Innovation distinguishes between follower and leader

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux