Re: Incomprehension with preg_match and utf8

From: Date: Mon, 05 Nov 2012 16:55:38 +0000
Subject: Re: Incomprehension with preg_match and utf8
References: 1 2 3  Groups: php.internals 
Request: Send a blank email to internals+get-63747@lists.php.net to get a copy of this message
On 11/05/2012 08:41 AM, Jean-Sébastien Hedde wrote: > On Mon, 05 Nov 2012 08:04:06 -0800, Rasmus Lerdorf <rasmus@lerdorf.com> > wrote: >> >> I think the documentation is wrong on that. In Unicode mode [[:alnum:]] >> actually becomes \p{Xan} which should match Unicode chars as well, but >> only if PCRE was compiled with Unicode support. So I suspect you don't >> actually have a Unicode-capable PCRE build in some cases there. >> >> -Rasmus > > I will report the bug to the package maintainers (remi, debian too...). > > Is there anyway for us to avoid those "wrong" builds ? I don't see how.

« previous php.internals (#63747) next »