all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "damien.thiriet77" <damien.thiriet77@laposte.net>
To: help-gnu-emacs@gnu.org
Subject: extended regexp
Date: Sat, 08 Dec 2012 14:52:05 +0100	[thread overview]
Message-ID: <789092338.520017.1354974725714.JavaMail.www@wwinf8306> (raw)
In-Reply-To: <mailman.923156.1354970579.854.help-gnu-emacs@gnu.org>

Hello,


I have been recently doing a lot of regexp with grep, sed and emacs and I think differences between regexp syntax of those programs are a bit confusing (I am using GNU sed, GNU grep and GNU emacs). Extended regexp somehow unify 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 tedious. Of course, I suppose the default behaviour of ( in regexp is connected 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’t find anything on it. As far as I remember, vim has got such extended regexp-like functions.

If there is no extended-regexp functions nor mode avalaible, I may send a feature request for it (the idea would be to have a regexp variable for usual or extended search and replace). However, do you think someone else might be interested by such a behaviour? 


Damien Thiriet




Une messagerie gratuite, garantie à vie et des services en plus, ça vous tente ?
Je crée ma boîte mail www.laposte.net



  parent reply	other threads:[~2012-12-08 13:52 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <mailman.923156.1354970579.854.help-gnu-emacs@gnu.org>
2012-12-08 13:34 ` Re:writing new speedbar-modes damien.thiriet77
2012-12-08 13:52 ` damien.thiriet77 [this message]
     [not found] ` <mailman.14869.1354974731.855.help-gnu-emacs@gnu.org>
2012-12-10 15:05   ` extended regexp Stefan Monnier
     [not found] <mailman.191.1355158842.18015.help-gnu-emacs@gnu.org>
2012-12-11  5:23 ` Jon Oddie

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=789092338.520017.1354974725714.JavaMail.www@wwinf8306 \
    --to=damien.thiriet77@laposte.net \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.