|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #24902 eregi matching incorrectly
Submitted: 2003-08-01 08:14 UTC Modified: 2003-08-01 08:25 UTC
From: mark at mark-martin dot com Assigned:
Status: Not a bug Package: Regexps related
PHP Version: 4.3.2 OS: Suse 8.0
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: mark at mark-martin dot com
New email:
PHP Version: OS:


 [2003-08-01 08:14 UTC] mark at mark-martin dot com
given the expression:

eregi("<[^>]*meta*\"?[^>]*>", $secvalue) 

when $secvalue="<met>test</met>", this expression returns true.

aren't the litterals here "meta" = "met"?


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-08-01 08:25 UTC]
meta* means met followed by 0 or more occurences of 'a'.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Jul 25 01:01:30 2024 UTC