Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:63747 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 38330 invoked from network); 5 Nov 2012 16:55:46 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 5 Nov 2012 16:55:46 -0000 Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 209.85.220.170 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 209.85.220.170 mail-vc0-f170.google.com Received: from [209.85.220.170] ([209.85.220.170:35224] helo=mail-vc0-f170.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id EC/8A-00811-19FE7905 for ; Mon, 05 Nov 2012 11:55:46 -0500 Received: by mail-vc0-f170.google.com with SMTP id fo14so6622050vcb.29 for ; Mon, 05 Nov 2012 08:55:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding:x-gm-message-state; bh=mE3D9diF4CqXteFD51SHohkrxZjPUeEFmixwcXyFZ2c=; b=KgbVfsYxHHDAsYUk6w9KkLeT/hMuE6E2VbURhpFPwLEQPzDCIQxju9rJ1tJI3TCJG9 xRTSpfuRtu0Js2kiX6zO624BXNKVw6JT5cJzdllSEeRp/pm8DOlu2BhKXncCzERpNQHF b58g3POineNQ7MF37G+qtNduRGJQrZ/H9cMYa522maMVctCLI6X9Mw4b+EGI5tgE/g0K WeRhRSZqU5tE4i+QlsRMsxYdDMB7abAUUyvKO8ig4UV3h1d/rOOi4NSTNsJH/iCnjMJL ABTkmTFPcI1EqSf2hHr3AK3F69A6HqmnVRCBQwsrEGTwjfely+cNEXhRdiX4npAhw5nr rf4Q== Received: by 10.220.153.212 with SMTP id l20mr10000338vcw.1.1352134542685; Mon, 05 Nov 2012 08:55:42 -0800 (PST) Received: from [192.168.200.148] (c-50-131-44-225.hsd1.ca.comcast.net. [50.131.44.225]) by mx.google.com with ESMTPS id g5sm8648685vez.6.2012.11.05.08.55.39 (version=SSLv3 cipher=OTHER); Mon, 05 Nov 2012 08:55:40 -0800 (PST) Message-ID: <5097EF8A.1000809@lerdorf.com> Date: Mon, 05 Nov 2012 08:55:38 -0800 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/20121028 Thunderbird/16.0.2 MIME-Version: 1.0 To: =?UTF-8?B?SmVhbi1Tw6liYXN0aWVuIEhlZGRl?= CC: internals References: <5fce29a0cb5467c00eeb267dd38fd788@localhost> <5097E376.6040709@lerdorf.com> In-Reply-To: X-Enigmail-Version: 1.4.5 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gm-Message-State: ALoCoQnlyGfE2lkkUG+lYLOSagevkZvl6SG0Yg2ZIJr0UqIoQWGE3rpltL3tOwRzoQ7YUYjqCRMa Subject: Re: [PHP-DEV] Incomprehension with preg_match and utf8 From: rasmus@lerdorf.com (Rasmus Lerdorf) On 11/05/2012 08:41 AM, Jean-Sébastien Hedde wrote: > On Mon, 05 Nov 2012 08:04:06 -0800, Rasmus Lerdorf > 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.