ID:               37736
 User updated by:  evgueni at magiaworld dot org dot ru
 Reported By:      evgueni at magiaworld dot org dot ru
 Status:           Bogus
 Bug Type:         PCRE related
 Operating System: Windows XP
 PHP Version:      5.1.4
 New Comment:

Thank you for help.
I sent a letter to PCRElib developers.


Previous Comments:
------------------------------------------------------------------------

[2006-06-08 06:42:20] [EMAIL PROTECTED]

Not PHP problem.
Please report it to PCRELib developers.
Thank you.

------------------------------------------------------------------------

[2006-06-07 23:58:51] judas dot iscariote at gmail dot com

I Understand your problem, however, this is not a bug, this is a much
more complex problem, that will be addressed in PHP6 only.

------------------------------------------------------------------------

[2006-06-07 23:16:46] evgueni at magiaworld dot org dot ru

Description:
------------
Good night!
I have some troubles with letter "Yo" (it's the letter "e" with two
points higher) in PCRE function preg_match. I have used the following
code to understand, consists a variable $tmp of just letters or no. The
script shows that doesn't consists. But it isn't right.   
Thank you.
Eugene Smirnov.

Reproduce code:
---------------
<?php

    ...
    $tmp = "&#1073;&#1086;&#1073;&#1105;&#1088;";
    if (preg_match("/^[&#1072;-&#1103;&#1040;-&#1071;]{0,}$/)){
        echo "Good";
    } else {
        echo "Bad";
    }
    
    ...

?>


Expected result:
----------------
I want to see the word "Good", because the word
"&#1073;&#1086;&#1073;&#1105;&#1088;" consists of letter just. But i
see the word "Bad".


Actual result:
--------------
No comment.


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=37736&edit=1

Reply via email to