all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'tony-au'" <auto51@hushmail.com>, <Emacs-devel@gnu.org>
Subject: RE: Search function that ignores some characters
Date: Fri, 9 Dec 2011 11:34:14 -0800	[thread overview]
Message-ID: <E642E095AF5448E59D6ABC179658AF65@us.oracle.com> (raw)
In-Reply-To: <32944985.post@talk.nabble.com>

> I want to search w[.,X]*o[.,X]*r[.,X]d as a regexp.

If you use that particular regexp a lot, you can save it as the value of a
register, and use `M-e' followed by `C-x r i' in regexp isearch to use it as the
search pattern.


(If you use Icicles, you can also assign the pattern to a variable and then use
`C-=' to insert it after hitting `M-e' in isearch.
http://www.emacswiki.org/emacs/Icicles_-_Inserting_a_Regexp_from_a_Variable_or_R
egister) 




      reply	other threads:[~2011-12-09 19:34 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-12-09 19:09 Search function that ignores some characters tony-au
2011-12-09 19:34 ` Drew Adams [this message]

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=E642E095AF5448E59D6ABC179658AF65@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=Emacs-devel@gnu.org \
    --cc=auto51@hushmail.com \
    /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.