From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark Skilbeck Newsgroups: gmane.emacs.help Subject: Re: How do I search for 9001 or 4001 Date: Wed, 22 Aug 2012 12:21:48 +0100 Message-ID: <20120822112148.GA3968@iammark.us> References: <1345632915533-262065.post@n5.nabble.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1345634534 5865 80.91.229.3 (22 Aug 2012 11:22:14 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Aug 2012 11:22:14 +0000 (UTC) Cc: Help-gnu-emacs@gnu.org To: acomber Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Aug 22 13:22:08 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 1T490h-0000g0-QG for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Aug 2012 13:22:07 +0200 Original-Received: from localhost ([::1]:38575 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T490g-0000Tw-9K for geh-help-gnu-emacs@m.gmane.org; Wed, 22 Aug 2012 07:22:06 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:40406) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T490X-0000Tp-Nm for Help-gnu-emacs@gnu.org; Wed, 22 Aug 2012 07:22:02 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1T490R-000873-5T for Help-gnu-emacs@gnu.org; Wed, 22 Aug 2012 07:21:57 -0400 Original-Received: from li357-97.members.linode.com ([178.79.188.97]:39442 helo=mail.iammark.us) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1T490Q-00086w-Vx for Help-gnu-emacs@gnu.org; Wed, 22 Aug 2012 07:21:51 -0400 Original-Received: by mail.iammark.us (Postfix, from userid 1000) id BCB72AB2F; Wed, 22 Aug 2012 12:21:48 +0100 (BST) Content-Disposition: inline In-Reply-To: <1345632915533-262065.post@n5.nabble.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 178.79.188.97 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:86466 Archived-At: You will want to precede that operator with a backslash: 4001\|9001. Read up on the Emacs Regex stuff (RTFM!): http://www.gnu.org/software/emacs/manual/html_node/emacs/Regexps.html - mgsk On Wed, Aug 22, 2012 at 03:55:15AM -0700, acomber wrote: > I want to do a regex search for the text '4001' or '9001'. I thought C-M-s > 4001|9001 would work but it doesn't. How do I do this? > > > > -- > View this message in context: http://emacs.1067599.n5.nabble.com/How-do-I-search-for-9001-or-4001-tp262065.html > Sent from the Emacs - Help mailing list archive at Nabble.com.