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: David Kastrup
Subject: Re: Regexp matching whitespace including newline
Date: Mon, 15 Sep 2008 13:56:00 +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" "\\)*"))

Uh, (re-search-forward "\\s-") ?

> I always use concat() to increase readability of my code.

That's not quite my impression.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum


reply via email to

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