Bug 129168

Summary: devel/php5-pcre doesn't seem to know about --enable-unicode-properties
Product: Ports & Packages Reporter: rainer
Component: Individual Port(s)Assignee: Alex Dupre <ale>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   

Description rainer 2008-11-25 10:40:02 UTC
Hi,

the following PHP-script:

<?PHP
echo "<PRE>";
$str="This is the string";
 $count = preg_match_all("/[[:print:]\pL]/u", $str, $pockets);
echo $pockets;
echo "</PRE>";
?>


provokes the following error in the httpd-error-log:


 stderr: PHP Warning:  preg_match_all() [<a href='function.preg-match-all'>function.preg-match-all</a>]: Compilation failed: unknown property name after \\P or \\p at offset 12 in /usr/local/www/data/test/p.php on line 4

This is an example from the PHP-documentation - the error manifested itself first when somebody tried to use typolight.

http://www.typolight.org/faq-leser/items/support-for-ppx-has-not-been-compiled.html

I tried to get php5-pcre to recognize these switches, but I failed and I'm not familiar enough with the PHP-port.
Trying to compile with the system-wide pcre failed, too, of course, because some symbols were missing.


I would be very thankful for any advice on this.

Fix: 

None know, currently.
How-To-Repeat: See above
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2008-11-25 11:04:21 UTC
Responsible Changed
From-To: freebsd-ports-bugs->ale

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 Alex Dupre freebsd_committer freebsd_triage 2008-12-07 12:00:39 UTC
State Changed
From-To: open->closed

Fixed.