From ooo-dev-return-11506-apmail-incubator-ooo-dev-archive=incubator.apache.org@incubator.apache.org Wed Jan 4 09:39:23 2012 Return-Path: X-Original-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Delivered-To: apmail-incubator-ooo-dev-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id A6EA7BF56 for ; Wed, 4 Jan 2012 09:39:23 +0000 (UTC) Received: (qmail 41519 invoked by uid 500); 4 Jan 2012 09:39:23 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 41257 invoked by uid 500); 4 Jan 2012 09:39:12 -0000 Mailing-List: contact ooo-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: ooo-dev@incubator.apache.org Delivered-To: mailing list ooo-dev@incubator.apache.org Received: (qmail 40697 invoked by uid 99); 4 Jan 2012 09:39:07 -0000 Received: from minotaur.apache.org (HELO minotaur.apache.org) (140.211.11.9) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2012 09:39:07 +0000 Received: from localhost (HELO [10.1.1.9]) (127.0.0.1) (smtp-auth username hdu, mechanism plain) by minotaur.apache.org (qpsmtpd/0.29) with ESMTP; Wed, 04 Jan 2012 09:39:07 +0000 Message-ID: <4F041E45.9050002@apache.org> Date: Wed, 04 Jan 2012 10:39:17 +0100 From: Herbert Duerr User-Agent: generic MIME-Version: 1.0 To: ooo-dev@incubator.apache.org Subject: Re: i18nregexp replaced with ICU regexp => heads up References: <4E85BF42.2020105@apache.org> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 03.01.2012 19:13, RGB ES wrote: > Sorry for reactivating this old thread, but I have a question about the new > regexp engine: it seems that some regular expressions do not work any more > on AOO test builds. For example, on OOo 3.3 you can use > \<[0-9]+[,|\.][0-9]*\> > to find decimal numbers no matter if the decimal separator is a colon or a > dot (the expression will find 125.25 and 1253,586) but this expression do > not work on AOO builds. Following up myself, AOO will both find strings like "<125.25>" and "<1253,586>" for the example regexp you provided, but it will not find "125.25" and "1253,586". http://www.regular-expressions.info/refflavors.html mentions the \< and \> that are used in your regexp example as non-standard extensions to the syntax. With using the new engine we are closer to the reference http://www.regular-expressions.info/reference.html Herbert