unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
* query-replace-regexp on a string with '=' sign
@ 2022-09-08  8:10 Pankaj Jangid
  2022-09-08  9:53 ` Emanuel Berg
  2022-09-08 10:49 ` Tassilo Horn
  0 siblings, 2 replies; 13+ messages in thread
From: Pankaj Jangid @ 2022-09-08  8:10 UTC (permalink / raw)
  To: Emacs Help

I have a line like this,

HELLO=WORLD

now I want to downcase the part before the equal (=) sign.

I am approaching like this

M-x query-replace-regexp RET \(.+\)= RET \,(downcase \1)= RET

But this doesn't work. It works if the equal sign is replaced with
another non-special ASCII character.

Where am I wrong?




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

end of thread, other threads:[~2022-09-18 15:24 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-09-08  8:10 query-replace-regexp on a string with '=' sign Pankaj Jangid
2022-09-08  9:53 ` Emanuel Berg
2022-09-16 15:15   ` [External] : " Drew Adams
2022-09-18 15:24     ` Emanuel Berg
2022-09-08 10:49 ` Tassilo Horn
2022-09-08 11:16   ` Emanuel Berg
2022-09-09  4:11   ` Pankaj Jangid
2022-09-09  5:10     ` Tassilo Horn
2022-09-09  7:46       ` Pankaj Jangid
2022-09-09  9:26         ` Tassilo Horn
2022-09-09 12:50           ` Pankaj Jangid
2022-09-09 12:56             ` Tassilo Horn
2022-09-10 16:05               ` Pankaj Jangid

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).