From: bojohan+news@dd.chalmers.se (Johan Bockgård)
Subject: Re: silly regexp-replace question: how to delete empty lines
Date: Thu, 04 Mar 2004 02:31:27 +0100 [thread overview]
Message-ID: <yoiju115cs9c.fsf@frealaf.dd.chalmers.se> (raw)
In-Reply-To: c25r54$2qsq$1@otis.netspace.net.au
"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
next prev parent reply other threads:[~2004-03-04 1:31 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-03-03 1:11 silly regexp-replace question: how to delete empty lines leo
2004-03-03 6:25 ` Barry Margolin
2004-03-03 6:36 ` Sacha Chua
2004-03-03 20:11 ` Peter Lee
2004-03-03 23:53 ` leo
2004-03-04 1:31 ` Johan Bockgård [this message]
2004-03-04 10:10 ` Alan Mackenzie
2004-03-03 23:16 ` Joe Fineman
[not found] <200403040341.i243ftF7381474@e1.ny.us.ibm.com>
2004-03-04 4:07 ` Thomas L Roche
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=yoiju115cs9c.fsf@frealaf.dd.chalmers.se \
--to=bojohan+news@dd.chalmers.se \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.