From:             [EMAIL PROTECTED]
Operating system: Linux 2.2.16-SMP
PHP version:      4.0.4pl1
PHP Bug Type:     Regexps related
Bug description:  \. after \- does not work

I tried to check email with
$check = 
This does not work with '[EMAIL PROTECTED]', for example, althoug the regular expression 
is correct.  It works this way in any other programming language.

But if you write it in the following way it also works fine in PHP:
$check = 
Maybe the parser thinks of "-" as the range separator, althoug it is written as \- ?

Edit Bug report at:

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