ID:               24686
 Updated by:       [EMAIL PROTECTED]
 Reported By:      mhaury at igc dot gulbenkian dot pt
-Status:           Open
+Status:           Closed
 Bug Type:         *Regular Expressions
 Operating System: MacOSX
 PHP Version:      4.3.2
 New Comment:

Please try using this CVS snapshot:

  http://snaps.php.net/php4-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-STABLE-latest.zip

Seems to be fixed already.



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

[2003-07-16 17:08:47] mhaury at igc dot gulbenkian dot pt

Description:
------------
The following code worked on 4.3.1 but does not work on 4.3.2 on Mac
OSX 10.2.6. with Apache 2.0.47.

preg_match() does not allow accentuated characters to be matched on the
above configuration.

Matthias

Reproduce code:
---------------
<?php
$x = "voilą";
if(preg_match("/^[[:alpha:]]+$/",$x))
 echo "matched";
else
 echo "unmatched";
?>


Expected result:
----------------
matched

Actual result:
--------------
unmatched


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


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

Reply via email to