all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ralf Angeli <dev.null@caeruleus.net>
Subject: Re: Regepxp-help: Replacing foo with bar but not foo.*
Date: Fri, 18 Aug 2006 22:34:04 +0200	[thread overview]
Message-ID: <44e6243b$0$15783$14726298@news.sunsite.dk> (raw)
In-Reply-To: 87k655x0dx.fsf@pdrechsler.de

* Patrick Drechsler (2006-08-18) writes:

> the rule I'm trying to imply is "replace foo if it is not
> followed by a dot".
>
> INPUT
>
> foo jfkda
> foo.bar fdjak
>
> OUTPUT
>
> fooMYREPLACEMENT jfkda
> foo.bar fdjak

C-M-% foo\([^.]\) RET fooMYREPLACEMENT\1

-- 
Ralf

  reply	other threads:[~2006-08-18 20:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-08-18 20:19 Regepxp-help: Replacing foo with bar but not foo.* Patrick Drechsler
2006-08-18 20:34 ` Ralf Angeli [this message]
2006-08-18 21:07   ` Eric Hanchrow
2006-08-19 14:48   ` Patrick Drechsler

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='44e6243b$0$15783$14726298@news.sunsite.dk' \
    --to=dev.null@caeruleus.net \
    --cc=angeli@caeruleus.net \
    /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.