#24902 [Opn->Bgs]: eregi matching incorrectly

From: Date: Fri, 01 Aug 2003 13:25:36 +0000
Subject: #24902 [Opn->Bgs]: eregi matching incorrectly
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-45172@lists.php.net to get a copy of this message
ID: 24902 Updated by: edink@php.net Reported By: mark at mark-martin dot com -Status: Open +Status: Bogus Bug Type: Regexps related Operating System: Suse 8.0 PHP Version: 4.3.2 New Comment: meta* means met followed by 0 or more occurences of 'a'. Previous Comments: ------------------------------------------------------------------------ [2003-08-01 08:14:29] mark at mark-martin dot com Description: ------------ given the expression: eregi("<[^>]*meta*\"?[^>]*>", $secvalue) when $secvalue="<met>test</met>", this expression returns true. aren't the litterals here "meta" = "met"? ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=24902&edit=1

« previous php.bugs (#45172) next »