help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

query-replace-regexp on a string with '=' sign


From: Pankaj Jangid
Subject: query-replace-regexp on a string with '=' sign
Date: Thu, 08 Sep 2022 13:40:35 +0530
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

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?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]