PHP 4.0 Bug #8925 Updated: pattern ~ can't detected

From: Date: Fri, 26 Jan 2001 16:35:41 +0000
Subject: PHP 4.0 Bug #8925 Updated: pattern ~ can't detected
Groups: php.dev 
Request: Send a blank email to php-dev+get-45057@lists.php.net to get a copy of this message
ID: 8925 Updated by: cynic Reported By: linkz@hanmail.net Old-Status: Open Status: Feedback Bug Type: *Regular Expressions Assigned To: Comments: 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? Previous Comments: --------------------------------------------------------------------------- [2001-01-25 23:02:31] linkz@hanmail.net php 4.0.4pl1 <? $aa = "abc ¡­ cde"; if (ereg ("~",$aa)) { echo "found!!"; } else { echo "not found"; } ?> this script don't work properly. --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8925

« previous php.dev (#45057) next »