Article View: gnu.emacs.bug
Article #1133Bug in replace-regexp
From: boesch
Date: Tue, 01 Nov 1988 04:04
Date: Tue, 01 Nov 1988 04:04
21 lines
901 bytes
901 bytes
I am using version 18.51.4 Try the following. I discovered it in a phone number processor. I will use the convention <function> for gnu emacs functions or special chars. All white space is to be ignored. Start with a newly initialized emacs. 1234567890<beginning-of-buffer><replace-regexp> 123\(.......\)<cr>\1<cr> This should have had the effect of replacing the "1234567890" in the buffer with "4567890" but it replaces it with "456789" The problem does not occur if there is a cr in the buffer after the "0" Brian
Technical Details
Message-ID:
<8811010404.AA23639@sun46.darpa.mil>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!uunet!tut.cis.ohio-state.edu!VAX.DARPA.MIL!boeschShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!water!watmath!uunet!tut.cis.ohio-state.edu!VAX.DARPA.MIL!boesch From: boesch@VAX.DARPA.MIL Newsgroups: gnu.emacs.bug Subject: Bug in replace-regexp Message-ID: <8811010404.AA23639@sun46.darpa.mil> Date: 1 Nov 88 04:04:26 GMT Sender: daemon@tut.cis.ohio-state.edu Distribution: gnu Organization: GNUs Not Usenet Lines: 21