ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Moebius <stmoeb...@yahoo.com>
Subject Re: [PATCH] ReplaceRegExp should not append additional newline
Date Wed, 18 Sep 2002 16:31:25 GMT

--- Stefan Bodewig <bodewig@apache.org> wrote:
> On Wed, 18 Sep 2002, Stefan Moebius <stmoebius@yahoo.com> wrote:
> 
> > Then maybe the attached patch will help ...
> 
> I'm not sure, there is a slight change in behavior with your patch in
> that the eol characters themselves now get passed to the regexp
> engine
> while the former code had swallowed them.

Yes, but I thought that caused the problems? 

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?

Stefan

=====
Stefan Moebius       <stmoebius@yahoo.com> 
  Wurzener Str. 43        +49 351 8475827
  01127 Dresden           +49 172 8739617

__________________________________________________
Do you Yahoo!?
Yahoo! News - Today's headlines
http://news.yahoo.com

--
To unsubscribe, e-mail:   <mailto:ant-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:ant-dev-help@jakarta.apache.org>


Mime
View raw message