php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8926 pattern ~ can't detected
Submitted: 2001-01-25 23:03 UTC Modified: 2001-01-26 11:27 UTC
From: linkz at hanmail dot net Assigned:
Status: Not a bug Package: *Regular Expressions
PHP Version: 4.0.4pl1 OS: linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
10 - 4 = ?
Subscribe to this entry?

 
 [2001-01-25 23:03 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

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-01-26 11:27 UTC] cynic@php.net
dupe of #8925
 [2001-01-26 11:27 UTC] cynic@php.net
err
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 23 20:01:29 2024 UTC