|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8925 pattern ~ can't detected
Submitted: 2001-01-25 23:02 UTC Modified: 2001-03-16 16:36 UTC
From: linkz at hanmail dot net Assigned:
Status: Closed Package: *Regular Expressions
PHP Version: 4.0.4pl1 OS: linux
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: linkz at hanmail dot net
New email:
PHP Version: OS:


 [2001-01-25 23:02 UTC] linkz at hanmail dot net
php 4.0.4pl1

$aa = "abc ?? cde";
if (ereg ("~",$aa)) {
	echo "found!!";
else {
	echo "not found";

this script don't work properly.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-26 11:35 UTC]
seems like you're saying that ereg() won't find "~" (tilde) in a string. however, at least the code you provided contains NO ~. is this the actual code? or just a typo in the report?
 [2001-03-16 16:36 UTC]
Works for me. No feedback.


PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Sun Oct 01 23:01:24 2023 UTC