Return-Path: Delivered-To: apmail-incubator-harmony-dev-archive@www.apache.org Received: (qmail 75062 invoked from network); 10 Oct 2006 06:26:31 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 10 Oct 2006 06:26:31 -0000 Received: (qmail 6505 invoked by uid 500); 10 Oct 2006 06:26:29 -0000 Delivered-To: apmail-incubator-harmony-dev-archive@incubator.apache.org Received: (qmail 6457 invoked by uid 500); 10 Oct 2006 06:26:29 -0000 Mailing-List: contact harmony-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: harmony-dev@incubator.apache.org Delivered-To: mailing list harmony-dev@incubator.apache.org Received: (qmail 6446 invoked by uid 99); 10 Oct 2006 06:26:29 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Oct 2006 23:26:29 -0700 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: 202.81.18.155 is neither permitted nor denied by domain of smallsmallorgan@gmail.com) Received: from [202.81.18.155] (HELO ausmtp06.au.ibm.com) (202.81.18.155) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 09 Oct 2006 23:26:28 -0700 Received: from sd0208e0.au.ibm.com (d23rh904.au.ibm.com [202.81.18.202]) by ausmtp06.au.ibm.com (8.13.6/8.13.6) with ESMTP id k9A6R56R9121886 for ; Tue, 10 Oct 2006 16:27:05 +1000 Received: from d23av04.au.ibm.com (d23av04.au.ibm.com [9.190.250.237]) by sd0208e0.au.ibm.com (8.13.6/8.13.6/NCO v8.1.1) with ESMTP id k9A6TR0g221778 for ; Tue, 10 Oct 2006 16:29:28 +1000 Received: from d23av04.au.ibm.com (loopback [127.0.0.1]) by d23av04.au.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id k9A6Q1tV015007 for ; Tue, 10 Oct 2006 16:26:01 +1000 Received: from d23m0011.cn.ibm.com (d23m0011.cn.ibm.com [9.181.32.74]) by d23av04.au.ibm.com (8.12.11.20060308/8.12.11) with ESMTP id k9A6P3Yj013493 for ; Tue, 10 Oct 2006 16:26:01 +1000 Received: from [9.181.106.182] ([9.181.106.182]) by d23m0011.cn.ibm.com (Lotus Domino Release 6.5.5HF262) with ESMTP id 2006101014234383-5060 ; Tue, 10 Oct 2006 14:23:43 +0800 Message-ID: <452B3CAC.5000302@gmail.com> Date: Tue, 10 Oct 2006 14:24:44 +0800 From: Spark Shen User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) MIME-Version: 1.0 To: harmony-dev@incubator.apache.org Subject: Re: [classlib][regex|luni] build break References: <452AEE3E.7050500@gmail.com> In-Reply-To: <452AEE3E.7050500@gmail.com> X-MIMETrack: Itemize by SMTP Server on D23M0011/23/M/IBM(Release 6.5.5HF262 | April 5, 2006) at 10/10/2006 14:23:43, Serialize by Router on D23M0011/23/M/IBM(Release 6.5.5HF262 | April 5, 2006) at 10/10/2006 14:24:43 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Tim Ellison =E5=86=99=E9=81=93: > So I checked in a patch for HARMONY-688's regex fix, and it passed the > regex unit tests, but causes the existing luni tests to fail in > java.util.Scanner. I've not figured out the base cause of the failure > so I've backed out the changes. > > Regards, > Tim > > =20 Hi regular expression guys: After applying Harmony-688 on my local env. The following test case will=20 fail on Harmony but pass on RI public void test=5Fmisc() { String pattern =3D "*(\\p{javaDigit})++*"; Matcher mat =3D Pattern.compile(pattern).matcher("123"); assertTrue(mat.matches()); } Since in Scanner implementation, the pattern "(\\p{javaDigit})++" is=20 heavily utilized to recognize integer numbers, then many of Scanner=20 tests fail. Greedy quantifiler here works fine. Would any regular expression guru look at this issue? Best regards --=20 Spark Shen China Software Development Lab, IBM --------------------------------------------------------------------- Terms of use : http://incubator.apache.org/harmony/mailing.html To unsubscribe, e-mail: harmony-dev-unsubscribe@incubator.apache.org For additional commands, e-mail: harmony-dev-help@incubator.apache.org