From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "damien.thiriet77" Newsgroups: gmane.emacs.help Subject: extended regexp Date: Sat, 08 Dec 2012 14:52:05 +0100 Message-ID: <789092338.520017.1354974725714.JavaMail.www@wwinf8306> References: Reply-To: "damien.thiriet77" NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1354974739 22223 80.91.229.3 (8 Dec 2012 13:52:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 8 Dec 2012 13:52:19 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Dec 08 14:52:32 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1ThKpO-0004lE-V2 for geh-help-gnu-emacs@m.gmane.org; Sat, 08 Dec 2012 14:52:27 +0100 Original-Received: from localhost ([::1]:41203 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ThKpC-0000TM-92 for geh-help-gnu-emacs@m.gmane.org; Sat, 08 Dec 2012 08:52:14 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:59554) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ThKp7-0000T6-5a for help-gnu-emacs@gnu.org; Sat, 08 Dec 2012 08:52:10 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ThKp5-0003ox-PI for help-gnu-emacs@gnu.org; Sat, 08 Dec 2012 08:52:09 -0500 Original-Received: from smtpout7.laposte.net ([193.253.67.232]:24673 helo=smtpout.laposte.net) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ThKp5-0003on-K5 for help-gnu-emacs@gnu.org; Sat, 08 Dec 2012 08:52:07 -0500 Original-Received: from wwinf8306 ([10.99.54.221]) by mwinf8514-out with ME id Z1s51k0044mN4ju031s5Yu; Sat, 08 Dec 2012 14:52:05 +0100 In-Reply-To: X-Originating-IP: [83.6.209.253] X-Wum-Nature: EMAIL-NATURE X-WUM-FROM: |~| X-WUM-TO: |~| X-WUM-REPLYTO: |~| X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 193.253.67.232 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:88091 Archived-At: Hello, I have been recently doing a lot of regexp with grep, sed and emacs and I t= hink differences between regexp syntax of those programs are a bit confusin= g (I am using GNU sed, GNU grep and GNU emacs). Extended regexp somehow uni= fy these syntaxes, and I would link to know if there is a way to implement = them in emacs regexp search and replace. I would like to do so for another = reason: I have quite often to escape ( and { in my regexp, which is quite t= edious. Of course, I suppose the default behaviour of ( in regexp is connec= ted with lisp syntax, but I mostly use search-replace in texts with few ().= I made a research in both emacs info manual and emacs wiki and couldn=E2= =80=99t find anything on it. As far as I remember, vim has got such extende= d regexp-like functions. If there is no extended-regexp functions nor mode avalaible, I may send a f= eature request for it (the idea would be to have a regexp variable for usua= l or extended search and replace). However, do you think someone else might= be interested by such a behaviour?=20 Damien Thiriet Une messagerie gratuite, garantie =C3=A0 vie et des services en plus, =C3= =A7a vous tente ? Je cr=C3=A9e ma bo=C3=AEte mail www.laposte.net