From: Barry Margolin <barmar@alum.mit.edu>
To: help-gnu-emacs@gnu.org
Subject: Re: How do I search for 9001 or 4001
Date: Wed, 22 Aug 2012 22:06:52 -0400 [thread overview]
Message-ID: <barmar-C4089A.22065222082012@news.eternal-september.org> (raw)
In-Reply-To: ur4qy8vj3.fsf@verizon.net
In article <ur4qy8vj3.fsf@verizon.net>, Joe Fineman <joe_f@verizon.net>
wrote:
> 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".
Then what are \( and \)?
--
Barry Margolin, barmar@alum.mit.edu
Arlington, MA
*** PLEASE post questions in newsgroups, not directly to me ***
next prev parent reply other threads:[~2012-08-23 2:06 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
2012-08-23 2:06 ` Barry Margolin [this message]
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=barmar-C4089A.22065222082012@news.eternal-september.org \
--to=barmar@alum.mit.edu \
--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.