#24902 [NEW]: eregi matching incorrectly

From: Date: Fri, 01 Aug 2003 13:14:29 +0000
Subject: #24902 [NEW]: eregi matching incorrectly
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-45171@lists.php.net to get a copy of this message
From: mark at mark-martin dot com Operating system: Suse 8.0 PHP version: 4.3.2 PHP Bug Type: Regexps related Bug description: eregi matching incorrectly Description: ------------ given the expression: eregi("<[^>]*meta*\"?[^>]*>", $secvalue) when $secvalue="<met>test</met>", this expression returns true. aren't the litterals here "meta" = "met"? -- Edit bug report at http://bugs.php.net/?id=24902&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=24902&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=24902&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=24902&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=24902&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=24902&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=24902&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=24902&r=support Expected behavior: http://bugs.php.net/fix.php?id=24902&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=24902&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=24902&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=24902&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=24902&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=24902&r=dst IIS Stability: http://bugs.php.net/fix.php?id=24902&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=24902&r=gnused

« previous php.bugs (#45171) next »