|
From: | Drew Adams |
Subject: | RE: [External] : Re: query-replace-regexp on a string with '=' sign |
Date: | Fri, 16 Sep 2022 15:15:18 +0000 |
> > HELLO=WORLD > > I want to downcase the part before the equal (=) sign. > > (while (re-search-forward "\\(.+\\)\\(=\\)" nil t)... In most cases you don't want the first group to match any `=' chars, in which case it should be something like \([^=]+\).
[Prev in Thread] | Current Thread | [Next in Thread] |