help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: re-search beginning of line or whitespace


From: Neon Absentius
Subject: Re: re-search beginning of line or whitespace
Date: Wed, 2 Nov 2005 03:23:55 +0000
User-agent: Mutt/1.4.2.1i

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




reply via email to

[Prev in Thread] Current Thread [Next in Thread]