[Bug 269749] New: PCRE lacks of \P, \p, and \X patterns breaking some functionality of PHP
https://bugzilla.novell.com/show_bug.cgi?id=269749 Summary: PCRE lacks of \P, \p, and \X patterns breaking some functionality of PHP Product: openSUSE 10.3 Version: Alpha 3 Platform: Other OS/Version: Other Status: NEW Severity: Normal Priority: P5 - None Component: Development AssignedTo: ms@novell.com ReportedBy: judas_iscariote@shorewall.net QAContact: qa@suse.de CC: mmarek@novell.com Since 10.2, PHP is linked against System PCRE instead of the bundled copy used in the past, however System PCRE was compiled -enable-utf8 but without --enable-unicode-properties this causes PHP to fail to compile some regular expressions that uses the \P, \p, and \X patterns, problem is not reproducible when PHP uses it's bundled version reproduce code: <?php var_dump(preg_match('/\PN+/', '123abc', $m)); ?> expected behaviuor : int(1) Actual result: preg_match(): Compilation failed: support for \P, \p, and \X has not been compiled at offset 1 (this is the cause why some PCRE PHP tests fail in 5.2.1 test suite) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=269749 ------- Comment #1 from judas_iscariote@shorewall.net 2007-04-28 20:06 MST ------- Quote from the PCRE readme.. "If, in addition to support for UTF-8 character strings, you want to include support for the \P, \p, and \X sequences that recognize Unicode character properties, you must add --enable-unicode-properties to the "configure" command. This adds about 30K to the size of the library (in the form of a property table); only the basic two-letter properties such as Lu are supported." -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=269749 ms@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |judas_iscariote@shorewall.net ------- Comment #2 from ms@novell.com 2007-05-01 03:10 MST ------- Thanks, fixed -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
https://bugzilla.novell.com/show_bug.cgi?id=269749 ms@novell.com changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Info Provider|judas_iscariote@shorewall.ne| |t | Resolution| |FIXED ------- Comment #3 from ms@novell.com 2007-05-01 03:11 MST ------- fixed :) -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug, or are watching someone who is.
participants (1)
-
bugzilla_noreply@novell.com