jed-users mailing list

[2004 Date Index] [2004 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

Re: bug in srchmisc.sl?


On Fri, Aug 13, 2004 at 10:55:09AM +1000, Peter D. Gray wrote:
> 
> 1) If you use $ as your first regexp (end of line)
> 	and anything as your second, you are prompted to
> 	substitute at end of line as you expect, but
> 	after the substitution, you are prompted again at the
> 	end of the same line. This continues foreever.

Also, on the last line in the buffer it says "replace_match failed!".  This
seems to be a problem with the code

   if ((reg.pat == NULL) || (reg.beg_matches[0] == -1) 
       || (reg.beg_matches[0] + reg.offset + reg.end_matches[0] >= (unsigned int) CLine->len)) 
     return 0;

in replace_match().

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2004 date index] [2004 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]