Mantis Bugtracker
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0003131 [Quercus] minor always 12-06-08 16:43 01-04-09 15:44
Reporter koreth View Status public  
Assigned To ferg
Priority urgent Resolution fixed  
Status closed   Product Version 3.2.1
Summary 0003131: preg_match doesn't support Unicode character classes
Description <?php
$text = "\xD8\xB6"; // Arabic letter "dad" in UTF-8 encoding
print preg_match('/[\p{Arabic}]/', $text) ? "match" : "no match";

This prints "match" in vanilla PHP and "no match" in Quercus.
Additional Information
Attached Files

- Relationships

- Notes
(0003579)
koreth
12-06-08 17:12

This is low priority -- I can work around it by changing the regex to scan for UTF-8 patterns (and in fact that's higher performance anyway, if a bit less readable.)
 
(0003693)
ferg
01-04-09 15:44

php/4er0
 

- Issue History
Date Modified Username Field Change
12-06-08 16:43 koreth New Issue
12-06-08 17:12 koreth Note Added: 0003579
12-10-08 12:47 nam Status new => assigned
12-10-08 12:47 nam Assigned To  => nam
01-04-09 14:40 ferg Priority normal => urgent
01-04-09 15:44 ferg Note Added: 0003693
01-04-09 15:44 ferg Assigned To nam => ferg
01-04-09 15:44 ferg Status assigned => closed
01-04-09 15:44 ferg Resolution open => fixed
01-04-09 15:44 ferg Fixed in Version  => 4.0.0


Mantis 1.0.0rc3[^]
Copyright © 2000 - 2005 Mantis Group
32 total queries executed.
28 unique queries executed.
Powered by Mantis Bugtracker