From:             hrompik at gmail dot com
Operating system: Windows 7 build 7600
PHP version:      5.2.11
PHP Bug Type:     Unknown/Other Function
Bug description:  I do not know

Description:
------------
I know English bad, so use a translator. 
The problem is that the Russian alphabet - Cyrillic is not properly
processed. 
Some letters are not included in the set [à-ÿ] example 'ð' or 'ô'

Reproduce code:
---------------
<?php
$url = 'ô-ô';
if (ereg("^([à-ÿ]+)-([à-ÿ]+)$",$url)) echo 'yes'; else echo 'no';
?>


Expected result:
----------------
yes

Actual result:
--------------
no

-- 
Edit bug report at http://bugs.php.net/?id=50137&edit=1
-- 
Try a snapshot (PHP 5.2):            
http://bugs.php.net/fix.php?id=50137&r=trysnapshot52
Try a snapshot (PHP 5.3):            
http://bugs.php.net/fix.php?id=50137&r=trysnapshot53
Try a snapshot (PHP 6.0):            
http://bugs.php.net/fix.php?id=50137&r=trysnapshot60
Fixed in SVN:                        
http://bugs.php.net/fix.php?id=50137&r=fixed
Fixed in SVN and need be documented: 
http://bugs.php.net/fix.php?id=50137&r=needdocs
Fixed in release:                    
http://bugs.php.net/fix.php?id=50137&r=alreadyfixed
Need backtrace:                      
http://bugs.php.net/fix.php?id=50137&r=needtrace
Need Reproduce Script:               
http://bugs.php.net/fix.php?id=50137&r=needscript
Try newer version:                   
http://bugs.php.net/fix.php?id=50137&r=oldversion
Not developer issue:                 
http://bugs.php.net/fix.php?id=50137&r=support
Expected behavior:                   
http://bugs.php.net/fix.php?id=50137&r=notwrong
Not enough info:                     
http://bugs.php.net/fix.php?id=50137&r=notenoughinfo
Submitted twice:                     
http://bugs.php.net/fix.php?id=50137&r=submittedtwice
register_globals:                    
http://bugs.php.net/fix.php?id=50137&r=globals
PHP 4 support discontinued:          http://bugs.php.net/fix.php?id=50137&r=php4
Daylight Savings:                    http://bugs.php.net/fix.php?id=50137&r=dst
IIS Stability:                       
http://bugs.php.net/fix.php?id=50137&r=isapi
Install GNU Sed:                     
http://bugs.php.net/fix.php?id=50137&r=gnused
Floating point limitations:          
http://bugs.php.net/fix.php?id=50137&r=float
No Zend Extensions:                  
http://bugs.php.net/fix.php?id=50137&r=nozend
MySQL Configuration Error:           
http://bugs.php.net/fix.php?id=50137&r=mysqlcfg

Reply via email to