ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Keith Wannamaker" <Ke...@Wannamaker.org>
Subject [PATCH] 1.5B / 1.6A LineContains broken
Date Sat, 08 Jun 2002 15:29:50 GMT
LineContains was broken in rev 1.4.2.1 in 1.5B and
in 1.6A when a 'fix' was forward-ported in rev 1.5

The problem is that LineContains will not match 
adjacent lines.  I would suggest the following patch
to both the 1.5 branch and head.

http://apache.org/~keith/line.txt

As an example, if your file contained:
foo1
foo2
foo3
foo4
foo5
, a linecontains of "foo" would only return
foo1
foo3
foo5
with the current code (both 1.5 and 1.6)

Thanks,
Keith


--
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