Am 27.07.2012 19:54, schrieb shiplu:

You should escape out that period as it will match any character otherwise.

Ash, Thats not true. In character class only meta-characters are \ ^ - [

And the dash only when it's not the first, or the last in the class.

and ]. This is the rule of PCRE (see<>).
I assume we are talking about pcre as everybody used delimiter here which
is required in pcre.

PHP General Mailing List (
To unsubscribe, visit:

Reply via email to