[php-maint] Bug#659478: php5: PHP 5.4 preg_match does not support Unicode

Roland Gruber post at rolandgruber.de
Sat Feb 11 12:45:42 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: php5
Version: 5.4.0~rc7-2
Severity: normal


The experimental version seems to have problems with Unicode checks in preg_match():

PHP Warning:  preg_match(): Compilation failed: unknown option bit(s) set at offset 0

Test patterns: /^\p{L}+$/u      /^([\/]([[:alnum:]@\\$\\.\\ \\_-])+)+(\/)?$/u



- -- System Information:
Debian Release: 6.0.4
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/1 CPU core)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages php5 depends on:
ii  libapache2-mod-php5          5.4.0~rc7-2 server-side, HTML-embedded scripti
ii  php5-common                  5.4.0~rc7-2 Common files for packages built fr
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk82YvEACgkQq/ywNCsrGZ5HKQCfYLXAiVRrGsqYh7DoMbWXxAu4
0uwAn2e0vSdzvmGPsWDceWWH1sY15I9W
=XD+B
-----END PGP SIGNATURE-----





More information about the pkg-php-maint mailing list