Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!decwrl!shelby!polya!shap From: shap@polya.Stanford.EDU (Jonathan S. Shapiro) Newsgroups: gnu.emacs.bug Subject: Re: replace-regexp Message-ID: <8486@polya.Stanford.EDU> Date: 16 Apr 89 03:30:49 GMT References: <8904130343.AA05725@starbase> <5211@kuhub.cc.ukans.edu> Sender: Jonathan S. Shapiro Reply-To: shap@polya.Stanford.EDU (Jonathan S. Shapiro) Distribution: gnu Organization: Stanford University Lines: 13 I was going to stay out of this, but it is relevant to observe that the whole beginning-of-line concept is a meta-concept, beginning-of-line not being in the domain of characters when distinguished from end-of-line. Given this, we can argue what beginning of line should do. It is certainly desirable, however, that a regular expression never be permitted to match a given input item (either character, BOL, or EOL) in more than one string-to-be-replaced. Jon