[Bug: 21.4.13] query replace regexp bug

Stephen J. Turnbull stephen at xemacs.org
Mon Jun 6 00:06:42 EDT 2005


>>>>> "Steve" == Steve Hickman <Hickman> writes:

    Steve> I attempted to remove the numbers at the begining of the
    Steve> lines in the file pasted into the end of this email by
    Steve> doing a query-replace-reqexp using the expression:
    Steve> ^\s-*[0-9]*: as the match expression and replacing it with
    Steve> nothing.  It worked, but it didn't remove all the numbers
    Steve> the first time. I had to repeatedly apply it to get them
    Steve> all out.

I've verified this in 21.5.20.  So, I don't think upgrading to 21.4.17
will help.

For some reason, when the match matches the entire content of a whole
line except the newline, the loop skips over the next line.  This is
quite peculiar, and clearly a bug.  It's going to take a while to fix,
I'm afraid; I'm not sure where the problem is going to be.


-- 
School of Systems and Information Engineering http://turnbull.sk.tsukuba.ac.jp
University of Tsukuba                    Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
               Ask not how you can "do" free software business;
              ask what your business can "do for" free software.




More information about the XEmacs-Beta mailing list