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

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

re-search beginning of line or whitespace


From: Tim Johnson
Subject: re-search beginning of line or whitespace
Date: Tue, 1 Nov 2005 17:39:46 -0900
User-agent: Mutt/1.4.2.1i

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 <tim@johnsons-web.com>
      http://www.alaska-internet-solutions.com




reply via email to

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