|
From: | Peter Dyballa |
Subject: | Re: regexp to collapse multiple blank lines into one |
Date: | Mon, 10 Oct 2005 20:02:40 +0200 |
Am 10.10.2005 um 18:35 schrieb Kevin Rodgers:
>>C-M-% \(^C-qC-j\)+ RET \1 RET >> I'll admit, I don't understand why that solution works: it appears to
But it's so easy: it's exactly one newline between the parentheses! Outside is the plus. So up to many occurences of newline get replaced by exactly one.
-- Greetings Pete War springs from unseen and generally insignificant causes. -Anonymous
[Prev in Thread] | Current Thread | [Next in Thread] |