Bug #3564: escaping chars in ereg

From: Date: Tue, 22 Feb 2000 11:28:43 +0000
Subject: Bug #3564: escaping chars in ereg
Groups: php.dev 
Request: Send a blank email to php-dev+get-15774@lists.php.net to get a copy of this message
From: if@syncopated.net Operating system: redhat 6.1 PHP version: 3.0.14 PHP Bug Type: Parser error Bug description: escaping chars in ereg this line worked just fine on 3.0.12 or maybe it was .10 - don't remember if(!eregi("^[^@[:space:]]+@([[:alnum:]\-]+\.) +[[:alnum:]][[:alnum:]][[:alnum:]]?$", $email) ) now gets me : Warning: Bad escape sequence: \- in /home/httpd/html/emanate/mailinglist.php3 on line 5 Warning: Bad escape sequence: \. in /home/httpd/html/emanate/mailinglist.php3 on line 5 ./configure --with-apxs=/usr/local/apache/bin/apxs --with-config-file-path=/etc/httpd --with-mysql --with-system-regex

« previous php.dev (#15774) next »