[PHP-DEV] PHP 4.0 Bug #8925 Updated: pattern ~ can't detected From: cynic <email protected>
Date: 01/26/01

ID: 8925
Updated by: cynic
Reported By: linkz <email protected>
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 <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>