From: Joe Fineman <joe_f@verizon.net>
To: help-gnu-emacs@gnu.org
Subject: Re: How do I search for 9001 or 4001
Date: Wed, 22 Aug 2012 17:30:08 -0400 [thread overview]
Message-ID: <ur4qy8vj3.fsf@verizon.net> (raw)
In-Reply-To: barmar-765119.10452222082012@news.eternal-september.org
Barry Margolin <barmar@alum.mit.edu> writes:
> 4001\|9001 will work. Emacs uses basic regular expressions, which
> means that the extended regexp operators have to be escaped. This
> means you have to use \(, \|, and \) instead of (, |, and ).
Live & learn. I never thought of \| as an escaped |. I thought it
was an approximation to the logicians' $\vee$ for "or".
--
--- Joe Fineman joe_f@verizon.net
||: I wish I had never been born -- but who has such luck? Not :||
||: one in ten thousand. :||
next prev parent reply other threads:[~2012-08-22 21:30 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <mailman.7406.1345632926.855.help-gnu-emacs@gnu.org>
2012-08-22 12:34 ` How do I search for 9001 or 4001 Joost Kremers
2012-08-22 14:45 ` Barry Margolin
2012-08-22 21:30 ` Joe Fineman [this message]
2012-08-23 2:06 ` Barry Margolin
2012-08-23 21:33 ` Joe Fineman
2012-08-22 10:55 acomber
2012-08-22 11:12 ` acomber
2012-08-22 11:21 ` Mark Skilbeck
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ur4qy8vj3.fsf@verizon.net \
--to=joe_f@verizon.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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).