CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]    2026/02/28 11:43:42

Modified files:
        usr.bin/mg     : re_search.c 

Log message:
fix replace-regexp issues

- an infinite loop with (replace-regexp "^.*$" "") because it does not
advance to the next line

- replace-regexp replaces all occurrences of ^pattern in a line.

diff from Mark Willson (mark [at] hydrus.org.uk,) thanks!

minor tweak by me, I've used gotoeol() instead of setting curwp->w_doto
manually.

Reply via email to