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

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

Re: silly regexp-replace question: how to delete empty lines


From: Johan Bockgård
Subject: Re: silly regexp-replace question: how to delete empty lines
Date: Thu, 04 Mar 2004 02:31:27 +0100
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.2 (usg-unix-v)

"leo" <halloleo@noospaam.myrealbox.com> writes:

> now i recall: i guess, the fact that "^[C-j]" works but "^$[C-j]"
> doesn't, is kind of a regexp bug/feature in emacs, isn't it?

    For historical compatibility reasons, `$' can be used only at the
    end of the regular expression, or before `\)' or `\|'.

    For historical compatibility reasons, `^' can be used only at the
    beginning of the regular expression, or after `\(' or `\|'.

(info "(elisp)Regexp Special")

-- 
Johan Bockgård


reply via email to

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