all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* re-builder vs replace-regexp
@ 2011-11-24 19:24 Андрей Парамонов
  2011-11-25  8:25 ` Andreas Röhler
  2011-11-25  9:22 ` Eric Abrahamsen
  0 siblings, 2 replies; 3+ messages in thread
From: Андрей Парамонов @ 2011-11-24 19:24 UTC (permalink / raw)
  To: help-gnu-emacs

Re-Builder is a great tool. It allows interactive search with
incredibly handy highlight, subexpression mode, etc. However, one
often needs not just search by regexp, but also perform regexp
replace. I thought reb-copy command would help me to pass my regexp to
replace-regexp. But replace-regexp doesn't understand the result of
reb-copy, i.e. for default *scratch* buffer the following regexp works
in Re-Builder:

"\\(file\\)"

but to make it suitable for search-forward-regexp/replace-regexp I
need to manually adjust it to

\(file\)

I find it really inconvenient (the larger regexp the more
inconvenient). Should I report a bug, or I'm missing something basic?
I'm running GNU Emacs 23.3.1.

Best wishes,
Andrey Paramonov



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

end of thread, other threads:[~2011-11-25  9:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-24 19:24 re-builder vs replace-regexp Андрей Парамонов
2011-11-25  8:25 ` Andreas Röhler
2011-11-25  9:22 ` Eric Abrahamsen

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.