php.net |  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: mark at mark-martin dot com
New email:
PHP Version: OS:

 

 [2003-08-01 08:14 UTC] 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"?




Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-08-01 08:25 UTC] edink@php.net
meta* means met followed by 0 or more occurences of 'a'.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 15:01:29 2024 UTC