all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* regexp problems the evil \[
@ 2017-03-23 21:57 Uwe Brauer
  2017-03-23 22:05 ` Stefan Monnier
  0 siblings, 1 reply; 8+ messages in thread
From: Uwe Brauer @ 2017-03-23 21:57 UTC (permalink / raw)
  To: help-gnu-emacs

Hi

The following drives me crazy

  (query-replace "\\[" "\\begin{displaymath}\n" nil)

Replaces
\[

by
\begin{displaymath}

But 

  (query-replace-regexp "\\[\\([^}]+\\)\\]" "@\\1" nil))


Does not replace 

\[eq:testpandoc:1\] 

By @eq:testpandoc:1

What do I miss?

Thanks

Uwe Brauer




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

end of thread, other threads:[~2017-03-24 17:07 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-03-23 21:57 regexp problems the evil \[ Uwe Brauer
2017-03-23 22:05 ` Stefan Monnier
2017-03-23 22:11   ` Uwe Brauer
2017-03-23 23:38     ` Aurélien Aptel
2017-03-24  0:38       ` hector
2017-03-24 17:07         ` Uwe Brauer
2017-03-24 17:07       ` Uwe Brauer
2017-03-24  2:27     ` Stefan Monnier

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.