From: kamphausen@creativepharma.com (Stefan Kamphausen)
Subject: I can't believe: replace regexp in a string
Date: 14 Feb 2003 00:37:55 -0800 [thread overview]
Message-ID: <62ede926.0302140037.4db6c80a@posting.google.com> (raw)
Dear elispWizards,
somehow I can't believe it. When I try to replace a regexp in a string
I have to create a temporary buffer and use the usual buffer
replacement commands or write a loop over the sequence. Is that true?
I have found a posting in this group describing that and have looked
at the XEmacs sources of subr.el where a defun replace-in-string is
defined which does one of the above procedures depending on the length
of the string. Having coded in Perl a good deal this seems quite
strange to me, but if it is the elispish way to do it, I'll give in
:-)
Best Regars and Thanks
Stefan Kamphausen
next reply other threads:[~2003-02-14 8:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-02-14 8:37 Stefan Kamphausen [this message]
2003-02-14 9:04 ` I can't believe: replace regexp in a string Klaus Berndl
2003-02-14 9:11 ` David Kastrup
2003-02-14 15:55 ` Stefan Monnier <foo@acm.com>
2003-02-15 15:07 ` Stefan Kamphausen
2003-02-15 17:48 ` Kai Großjohann
2003-02-17 11:24 ` Stefan Kamphausen
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=62ede926.0302140037.4db6c80a@posting.google.com \
--to=kamphausen@creativepharma.com \
/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.