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

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

newline doesn't have whitespace syntax?


From: John Conrad
Subject: newline doesn't have whitespace syntax?
Date: Fri, 12 May 2006 10:22:37 -0400

When I read this in the elisp manual:

"Space, tab, newline and formfeed are classified as whitespace in almost all major modes."
(35.2.1 Table of Syntax Classes)
 
I assumed that this re-search-forward _expression_ would match the line following it, but no dice.

(re-search-forward "abcd[[:space:]]")
abcd

I've tried several different modes, including fundamental mode. Am I missing something?

Using Emacs 22.0.50.1

John Emerson Conrad

reply via email to

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