From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Neon Absentius Newsgroups: gmane.emacs.help Subject: Re: re-search beginning of line or whitespace Date: Wed, 2 Nov 2005 03:23:55 +0000 Message-ID: <20051102032355.GA10016@SDF.LONESTAR.ORG> References: <20051101152338.3161.qmail@mail.jfudy.com> <20051102023946.GB1791@johnsons-web.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1130901939 30028 80.91.229.2 (2 Nov 2005 03:25:39 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 2 Nov 2005 03:25:39 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Nov 02 04:25:36 2005 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1EX9Ej-0005Wf-Mk for geh-help-gnu-emacs@m.gmane.org; Wed, 02 Nov 2005 04:24:30 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EX9Ej-0005da-4d for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Nov 2005 22:24:29 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EX9EU-0005bQ-QM for help-gnu-emacs@gnu.org; Tue, 01 Nov 2005 22:24:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EX9ET-0005av-CI for help-gnu-emacs@gnu.org; Tue, 01 Nov 2005 22:24:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EX9ET-0005as-8D for help-gnu-emacs@gnu.org; Tue, 01 Nov 2005 22:24:13 -0500 Original-Received: from [192.94.73.21] (helo=sdf.lonestar.org) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EX9ET-0006HY-4S for help-gnu-emacs@gnu.org; Tue, 01 Nov 2005 22:24:13 -0500 Original-Received: from sdf.lonestar.org (IDENT:absent@otaku.freeshell.org [192.94.73.2]) by sdf.lonestar.org (8.13.1/8.12.10) with ESMTP id jA23Nus4011223 for ; Wed, 2 Nov 2005 03:23:56 GMT Original-Received: (from absent@localhost) by sdf.lonestar.org (8.13.1/8.12.8/Submit) id jA23NtqX029972 for help-gnu-emacs@gnu.org; Wed, 2 Nov 2005 03:23:55 GMT Original-To: help-gnu-emacs@gnu.org Content-Disposition: inline In-Reply-To: <20051102023946.GB1791@johnsons-web.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:30752 Archived-At: On Tue, Nov 01, 2005 at 05:39:46PM -0900, thus spake Tim Johnson: > (re-search-backward "^\|[\t ]") ;; gives me an error > > What am I leaving out. A slash ;) The correct syntax is (re-search-backward "^\\|[\t ]") with your syntax you are searcing for a line starting with a pipe ("|") and continuing with white space. Appanently your buffer doesn't contain such a line. > TIA > tim -- Computer science is not about computers, any more than astronomy is about telescopes. -- Edsger Dijkstra