Ok, maybe you can try the attached patch. What it does: 1. Neither '\r' (CR) nor '\n' (LF) are added to the line that gets passed to the matcher. 2. Whatever CRs or LFs were in the input, will be in the output. 3. LF always ends a line, i.e. both "\n" and "\r\n" are single linebreaks. 4. CR will terminate a line if it is either followed by another CR (one empty line here), or by any character except CR or LF. Thus both "\r\r..." and "\r\r\n..." will be two lines.
Does this get the job done? Btw, how can I enable the replaceregexp test cases? 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
ReplaceRegExp.java.byline2.diff
Description: ReplaceRegExp.java.byline2.diff
-- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
