From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Nikolai Weibull Newsgroups: gmane.emacs.devel Subject: Re: Patch for lookaround assertion in regexp Date: Wed, 25 Jan 2012 07:07:22 +0100 Message-ID: References: <009001ccd9c0$9bde09f0$d39a1dd0$@cfraizer.com> <4F1F3E45.80606@harpegolden.net> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1327471654 17029 80.91.229.12 (25 Jan 2012 06:07:34 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 25 Jan 2012 06:07:34 +0000 (UTC) Cc: emacs-devel@gnu.org To: David De La Harpe Golden Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Jan 25 07:07:29 2012 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Rpw13-0004Do-Jd for ged-emacs-devel@m.gmane.org; Wed, 25 Jan 2012 07:07:29 +0100 Original-Received: from localhost ([::1]:50807 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rpw12-00075p-Lz for ged-emacs-devel@m.gmane.org; Wed, 25 Jan 2012 01:07:28 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:34269) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rpw0z-00075k-TN for emacs-devel@gnu.org; Wed, 25 Jan 2012 01:07:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rpw0y-0001Mw-BJ for emacs-devel@gnu.org; Wed, 25 Jan 2012 01:07:25 -0500 Original-Received: from mail-pz0-f41.google.com ([209.85.210.41]:56927) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rpw0y-0001Mq-3j for emacs-devel@gnu.org; Wed, 25 Jan 2012 01:07:24 -0500 Original-Received: by dang27 with SMTP id g27so3307797dan.0 for ; Tue, 24 Jan 2012 22:07:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=9M9jmq/klqKr1PhMCeGDOy+7OXM0jpxNhbv5rSqs6Mo=; b=xHSIMfaAqieB4lodU21OASwNFkvGcXbFHFgGbxKDiGxMQfAeJ5hFwBe60au6k14WzC yoYYn+athScTnmD6WAL6njKy+ZrRQ0SAYUg7HDpnRrekeyO21geNfpWT5WwXSQjwysYJ tIfLyJBLr8G0IcHd8dq/k8uUAV/lhYSJvKBac= Original-Received: by 10.68.189.69 with SMTP id gg5mr37637348pbc.41.1327471643168; Tue, 24 Jan 2012 22:07:23 -0800 (PST) Original-Received: by 10.68.136.193 with HTTP; Tue, 24 Jan 2012 22:07:22 -0800 (PST) In-Reply-To: <4F1F3E45.80606@harpegolden.net> X-Google-Sender-Auth: j_IM51lleeJH8DskYiRiBVMIqdw X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 209.85.210.41 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:147903 Archived-At: On Wed, Jan 25, 2012 at 00:27, David De La Harpe Golden wrote: > On 24/01/12 08:41, Nikolai Weibull wrote: >> >> As an alternative to PCRE, which, as has already been pointed out, >> doesn=E2=80=99t match any of these requirements, how about RE2? >> >> http://code.google.com/p/re2/ >> >> It=E2=80=99s written in C++, which is a minus, but it should be simple e= nough >> to extend it with \c and \s. > If we're mentioning engines, CL-PPCRE by Dr. Edi Weitz is _in_ (common) l= isp > and generally nice (also 2-clause BSD-style licensed): > http://weitz.de/cl-ppcre/ CL-PPCRE is implemented using a backtracing NFA, so it=E2=80=99s not suited= to Stefan=E2=80=99s requirements. It would, had it not been for this fact, be= en a nice alternative.