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
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: 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 16:01:28 2024 UTC