Path: 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 I am using version 18.51.4 Try the following. I discovered it in a phone number processor. I will use the convention for gnu emacs functions or special chars. All white space is to be ignored. Start with a newly initialized emacs. 1234567890 123\(.......\)\1 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