From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tom Newsgroups: gmane.emacs.devel Subject: Re: Patch for lookaround assertion in regexp Date: Mon, 23 Jan 2012 14:44:21 +0000 (UTC) Message-ID: References: <009001ccd9c0$9bde09f0$d39a1dd0$@cfraizer.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1327329899 9426 80.91.229.12 (23 Jan 2012 14:44:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 23 Jan 2012 14:44:59 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 23 15:44:55 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 1RpL8e-0000R7-Ue for ged-emacs-devel@m.gmane.org; Mon, 23 Jan 2012 15:44:53 +0100 Original-Received: from localhost ([::1]:47023 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpL8e-0002yH-IK for ged-emacs-devel@m.gmane.org; Mon, 23 Jan 2012 09:44:52 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:45452) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpL8X-0002xf-T3 for emacs-devel@gnu.org; Mon, 23 Jan 2012 09:44:51 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpL8S-0002ys-3c for emacs-devel@gnu.org; Mon, 23 Jan 2012 09:44:45 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:45403) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpL8R-0002yl-RO for emacs-devel@gnu.org; Mon, 23 Jan 2012 09:44:40 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RpL8Q-0000IN-Cf for emacs-devel@gnu.org; Mon, 23 Jan 2012 15:44:38 +0100 Original-Received: from 94-21-76-61.pool.digikabel.hu ([94.21.76.61]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Jan 2012 15:44:38 +0100 Original-Received: from adatgyujto by 94-21-76-61.pool.digikabel.hu with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 23 Jan 2012 15:44:38 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 14 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 94.21.76.61 (Opera/9.80 (Windows NT 6.1; U; en) Presto/2.10.229 Version/11.60) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 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:147848 Archived-At: Stefan Monnier iro.umontreal.ca> writes: > > OTOH, noone has submitted code to replace the current regexp engine, and > I don't forsee I'll have the time to write it myself, so maybe I should > just give up on this plan. > Why not use simply PCRE with a bridge layer which translates from emacs regexp format to PCRE? AFAIK the emacs regexes are more or less a subset of PCRE, so the translation shouldn't be very difficult. Why reinvent the wheel when PCRE is already there?