From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.devel Subject: Re: Patch for lookaround assertion in regexp Date: Mon, 23 Jan 2012 15:50:47 +0100 Message-ID: References: <009001ccd9c0$9bde09f0$d39a1dd0$@cfraizer.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: dough.gmane.org 1327330272 12440 80.91.229.12 (23 Jan 2012 14:51:12 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 23 Jan 2012 14:51:12 +0000 (UTC) Cc: emacs-devel@gnu.org To: Tom Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jan 23 15:51:08 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 1RpLEc-0003vC-8A for ged-emacs-devel@m.gmane.org; Mon, 23 Jan 2012 15:51:02 +0100 Original-Received: from localhost ([::1]:54263 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpLEb-0005AS-Bx for ged-emacs-devel@m.gmane.org; Mon, 23 Jan 2012 09:51:01 -0500 Original-Received: from eggs.gnu.org ([140.186.70.92]:37913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpLEV-00059k-CO for emacs-devel@gnu.org; Mon, 23 Jan 2012 09:50:59 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RpLER-0003oT-6D for emacs-devel@gnu.org; Mon, 23 Jan 2012 09:50:55 -0500 Original-Received: from mail-out.m-online.net ([212.18.0.9]:49491) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RpLER-0003oE-0K for emacs-devel@gnu.org; Mon, 23 Jan 2012 09:50:51 -0500 Original-Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id 120441C0F583; Mon, 23 Jan 2012 15:50:49 +0100 (CET) X-Auth-Info: DNLmfLxQnbDOf71TTRVM10CaFW5J3J99c4Yf6kTyr8Q= Original-Received: from igel.home (ppp-88-217-98-175.dynamic.mnet-online.de [88.217.98.175]) by mail.mnet-online.de (Postfix) with ESMTPA id 06C771C00122; Mon, 23 Jan 2012 15:50:49 +0100 (CET) Original-Received: by igel.home (Postfix, from userid 501) id 457DFCA29A; Mon, 23 Jan 2012 15:50:47 +0100 (CET) X-Yow: He probably just wants to take over my CELLS and then EXPLODE inside me like a BARREL of runny CHOPPED LIVER! Or maybe he'd like to PSYCHOLOGICALLY TERRORIZE ME until I have no objection to a RIGHT-WING MILITARY TAKEOVER of my apartment!! I guess I should call AL PACINO! In-Reply-To: (Tom's message of "Mon, 23 Jan 2012 14:44:21 +0000 (UTC)") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) X-Received-From: 212.18.0.9 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:147849 Archived-At: Tom writes: > 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. Does PCRE implement \c and \s? Does PCRE provide an interface for searching a memory region with a gap? Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."