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 E79EF4615 for ; Thu, 23 Jun 2011 20:35:44 +0000 (UTC) Received: (qmail 30736 invoked by uid 500); 23 Jun 2011 20:35:44 -0000 Delivered-To: apmail-incubator-ooo-dev-archive@incubator.apache.org Received: (qmail 30694 invoked by uid 500); 23 Jun 2011 20:35:44 -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 30686 invoked by uid 99); 23 Jun 2011 20:35:44 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2011 20:35:44 +0000 X-ASF-Spam-Status: No, hits=-0.7 required=5.0 tests=FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of gstein@gmail.com designates 209.85.210.47 as permitted sender) Received: from [209.85.210.47] (HELO mail-pz0-f47.google.com) (209.85.210.47) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 23 Jun 2011 20:35:39 +0000 Received: by pzk36 with SMTP id 36so1607022pzk.6 for ; Thu, 23 Jun 2011 13:35:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=RXnx+n9C/HnVqRJOi+1/wRpIU5hBddy5cB9updk3Gac=; b=D5Emp0opPB+EtE2gEYG4jIOGsliIs+uKGtFM1Kpmui9aoltaBovcbDcI24ji6hrB4u mP9d+XdzCv5JLF9yQe4r09LS7FLwGwhlLN+O+ujXGarp9YK4tgUEdlRvA46gVN2NLFfE tsI5r9R8RnbsnV6LymEdt8BW6sEhsLDQUuf14= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=gGxNJfJFkhGYmC0HasEtQPZ1HuKALOqNuzbP4naBk5acitzC7jscLy5LvR/YXgF/F5 hzEECgmBW6LMFJRPI9R44QxTrjrlkjHJyTSI3eEwTKGIMjUOCfIP/fFR2XoWJqBtU5rp 2FekyPKtB8tlzJHkStdH7rrfdUQ4IWN7RZRGw= MIME-Version: 1.0 Received: by 10.142.154.12 with SMTP id b12mr525658wfe.156.1308861317743; Thu, 23 Jun 2011 13:35:17 -0700 (PDT) Received: by 10.143.83.6 with HTTP; Thu, 23 Jun 2011 13:35:17 -0700 (PDT) In-Reply-To: <493909.69057.qm@web113517.mail.gq1.yahoo.com> References: <493909.69057.qm@web113517.mail.gq1.yahoo.com> Date: Thu, 23 Jun 2011 16:35:17 -0400 Message-ID: Subject: Re: RegExp replacement (was Re: Some more strange files in the OOo code) From: Greg Stein To: giffunip@tutopia.com Cc: ooo-dev@incubator.apache.org Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Virus-Checked: Checked by ClamAV on apache.org On Thu, Jun 23, 2011 at 16:26, Pedro F. Giffuni wrot= e: > (Sorry my previous message only went private) > > --- On Thu, 6/23/11, Greg Stein wrote: > > (Snipped the irregexp stuff) > >> > much better than writing our own ;-). >> >> PCRE also has C++ wrappers, and *is* packaged up and >> delivered as a library. >> > > Hmm.. and it's documented: > =A0 =A0http://www.daemon.de/PCRE > > One thing to take into account though: > > PCRE =A0 --> BSD licensed > PCRE++ --> LGPL > > I certainly won't object to PCRE++ if developers feel more > comfortable with it, but if we use PCRE++ it will have to > be a dependency because we cannot bring it directly to the > tree. It wouldn't make much sense to design our own C++ > wrapper. I was talking about the C++ wrappers that are part of PCRE itself. For example: http://vcs.pcre.org/viewvc/code/trunk/pcrecpp.h?view=3Dmarkup Cheers, -g