From: Eric Hanchrow <offby1@blarg.net>
Subject: Re: Regepxp-help: Replacing foo with bar but not foo.*
Date: Fri, 18 Aug 2006 14:07:16 -0700 [thread overview]
Message-ID: <87ac61hhx7.fsf@offby1.atm01.sea.blarg.net> (raw)
In-Reply-To: 44e6243b$0$15783$14726298@news.sunsite.dk
and for what it's worth, if you want to write the regular expression
in Emacs Lisp code (as opposed to typing it directly to M-x
replace-regexp), you could use
(rx "foo" (group (not (any "."))))
--
Rarely do we find men who willingly engage in hard, solid
thinking. There is an almost universal quest for easy answers
and half-baked solutions. Nothing pains some people more
than having to think.
-- Martin Luther King, Jr.
from "Strength to Love," 1963.
next prev parent reply other threads:[~2006-08-18 21:07 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
2006-08-18 21:07 ` Eric Hanchrow [this message]
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=87ac61hhx7.fsf@offby1.atm01.sea.blarg.net \
--to=offby1@blarg.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.