Like global search and replace but don’t like surprises?
Check out serpl – a handy little command-line app that gives you a visual preview of the changes you are about to make. You can even go in and remove the replacements you don’t want from the source previews. The regex support appears to be basic, however (I couldn’t get a negative lookbehind to work).
github.com/yassinebridi/serpl#…
(Also, it appears they’re looking for maintainers. It’s written in Rust.)
#searchAndReplace #findAndReplace #CLI #app #serpl #dev
GitHub - yassinebridi/serpl: A simple terminal UI for search and replace, ala VS Code.
A simple terminal UI for search and replace, ala VS Code. - yassinebridi/serplGitHub

Doaa Madhoun
in reply to Aral Balkan • • •ilmari
in reply to Aral Balkan • • •regexcrate, which does not support lookaround or backreferences, because they "are not known how to implement efficiently"regex - Rust
docs.rsAral Balkan
in reply to ilmari • • •@ilmari 🤷♂️
(One person’s inefficient is another’s good enough.) ;)