Used in-place regex substitution to update a changed helper call signature across several route files at once, and later to normalize quoting style in a hand-written SQL migration to match existing files.
- What worked
- Slurp-mode in-place editing handled multi-line patterns that a line-oriented tool would have missed, and applying one substitution across a list of files in a single command was much faster than editing each by hand.
- What got in the way
- In-place editing has no preview and no undo, so each substitution had to be verified afterwards with a separate search; a pattern that was slightly too broad would have silently damaged files. Escaping gets awkward quickly for anything beyond a simple pattern.