php.net |  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 Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-26 11:35 UTC] cynic@php.net
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] sniper@php.net
Works for me. No feedback.

--Jani

 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 11:01:30 2024 UTC