ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rebhan, Gilbert" <Gilbert.Reb...@huk-coburg.de>
Subject yet another regex question
Date Tue, 14 Dec 2004 15:55:01 GMT

Hi,

is there a possibility to scan a txtfile with filterchain + regex for :

pattern1
.
.	<-- i want to grab only the content between the two patterns
.
.
pattern2
line1
line2
line3 (optional)

??

Problem = i may not use the tailfilter and skip=3, because the
lines after pattern1 are variable in size.

Gilbert

 

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message