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

Ondřej Surý ondrej at debian.org
Sat Feb 11 20:18:19 UTC 2012


Roland,

can you please provide full test script?

O.

On Sat, Feb 11, 2012 at 13:45, Roland Gruber <post at rolandgruber.de> wrote:
> -----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-----
>
>
>
> _______________________________________________
> pkg-php-maint mailing list
> pkg-php-maint at lists.alioth.debian.org
> http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-php-maint



-- 
Ondřej Surý <ondrej at sury.org>





More information about the pkg-php-maint mailing list