--- Stefan Bodewig <[EMAIL PROTECTED]> wrote: > On Wed, 18 Sep 2002, Stefan Moebius <[EMAIL PROTECTED]> wrote: > > > What is the expected behavior: > > 1) Pass the whole line, including linebreak to the matcher and > write > > the result, or > > 2) Fetch the line, pass it without the linebreak to the matcher and > > write the result plus the originial linebreak? > > As (2) is what the released version of <replaceregexp> does, we > better > keep it that way IMHO.
No Problem. But then it is not possible to, e.g., convert DOS to Unix linebreaks using regexp (I know there are other ways to do that, but for the sake of the example...). Are there any precedences (sed, perl, ...)? If it's just for not changing the behavior of the released version: If that behavior was buggy anyway, I can't see a problem changing it ;-) Stefan ===== Stefan Moebius <[EMAIL PROTECTED]> Wurzener Str. 43 +49 351 8475827 01127 Dresden +49 172 8739617 __________________________________________________ Do you Yahoo!? New DSL Internet Access from SBC & Yahoo! http://sbc.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
