all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* I can't believe: replace regexp in a string
@ 2003-02-14  8:37 Stefan Kamphausen
  2003-02-14  9:04 ` Klaus Berndl
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Stefan Kamphausen @ 2003-02-14  8:37 UTC (permalink / 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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2003-02-17 11:24 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-02-14  8:37 I can't believe: replace regexp in a string Stefan Kamphausen
2003-02-14  9:04 ` 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

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.