From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Joe Fineman Newsgroups: gmane.emacs.help Subject: Re: How do I search for 9001 or 4001 Date: Wed, 22 Aug 2012 17:30:08 -0400 Organization: A noiseless patient Spider Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1345671313 643 80.91.229.3 (22 Aug 2012 21:35:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Aug 2012 21:35:13 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 22 23:35:14 2012 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1T4Ia1-00046q-Ov for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Aug 2012 23:35:13 +0200 Original-Received: from localhost ([::1]:33358 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T4IZz-0001eo-U3 for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Aug 2012 17:35:11 -0400 Original-Path: usenet.stanford.edu!goblin1!goblin.stu.neva.ru!eternal-september.org!feeder.eternal-september.org!mx04.eternal-september.org!.POSTED!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 13 Injection-Info: mx04.eternal-september.org; posting-host="05e8098d7f357ce286f5fe2ffc4444f7"; logging-data="12998"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+2SkA6aUm58SELFakXdlgd" User-Agent: Gnus/5.101 (Gnus v5.10.10) Emacs/22.3 (windows-nt) Cancel-Lock: sha1:LYpr+ZN9k0yMBIPHgVno297uHXE= sha1:4HvHb1ic7tSCCXGuM4FQumyrjrw= Original-Xref: usenet.stanford.edu gnu.emacs.help:194117 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:86482 Archived-At: Barry Margolin 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. :||