From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tim Johnson Newsgroups: gmane.emacs.help Subject: re-search beginning of line or whitespace Date: Tue, 1 Nov 2005 17:39:46 -0900 Message-ID: <20051102023946.GB1791@johnsons-web.com> References: <20051101152338.3161.qmail@mail.jfudy.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1130899279 24469 80.91.229.2 (2 Nov 2005 02:41:19 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 2 Nov 2005 02:41:19 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 02 03:41:16 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EX8Xf-00011A-UR for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Nov 2005 03:40:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EX8Xf-0000a3-9l for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Nov 2005 21:39:59 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EX8XV-0000Zy-5I for help-gnu-emacs@gnu.org; Tue, 01 Nov 2005 21:39:49 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EX8XT-0000Zj-Jh for help-gnu-emacs@gnu.org; Tue, 01 Nov 2005 21:39:48 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EX8XT-0000Zg-FC for help-gnu-emacs@gnu.org; Tue, 01 Nov 2005 21:39:47 -0500 Original-Received: from [208.218.214.5] (helo=postoffice.cniweb.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EX8XT-0004Mp-Hm for help-gnu-emacs@gnu.org; Tue, 01 Nov 2005 21:39:47 -0500 Original-Received: from linus.johnson.com (rdbck-static-445.palmer.mtaonline.net [64.4.232.191]) by postoffice.cniweb.net (8.13.5/8.13.5) with ESMTP id jA22dJpb019224 for ; Tue, 1 Nov 2005 21:39:20 -0500 (EST) Original-Received: from linus.johnson.com (localhost.johnson.com [127.0.0.1]) by linus.johnson.com (8.12.8/8.12.8) with ESMTP id jA22dkgd013012 for ; Tue, 1 Nov 2005 17:39:46 -0900 Original-Received: (from tim@localhost) by linus.johnson.com (8.12.8/8.12.8/Submit) id jA22dkkW013010 for help-gnu-emacs@gnu.org; Tue, 1 Nov 2005 17:39:46 -0900 Original-To: help-gnu-emacs@gnu.org Mail-Followup-To: Tim Johnson , help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <20051101152338.3161.qmail@mail.jfudy.com> User-Agent: Mutt/1.4.2.1i X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:30750 Archived-At: Hi: I'd like to find the nearest previous whitespace *or* beginning of line; (re-search-backward "^") ;; gets me to the beginning of ;; the line (re-search-backward "[\t ]") ;; seems to find the nearest ;; previous whitespace ;; but can't seem to combine them properly (re-search-backward "^\|[\t ]") ;; gives me an error What am I leaving out. TIA tim -- Tim Johnson http://www.alaska-internet-solutions.com