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

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

Re: Regexp matching whitespace including newline


From: Thierry Volpiatto
Subject: Re: Regexp matching whitespace including newline
Date: Mon, 15 Sep 2008 15:11:20 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

Nordlöw <per.nordlow@gmail.com> writes:

> Is there a more compact regexp for specifying whitespace including
> newlines other than:
>
> (re-search-forward (concat "\\(" "\\s-" "\\|" "\n" "\\)*"))

May be that:

,----
| (re-search-forward "[ \n]")
`----


-- 
A + Thierry Volpiatto
Location: Saint-Cyr-Sur-Mer - France




reply via email to

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