ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Niklas Matthies <>
Subject Re: Multiline regex matches
Date Tue, 17 Aug 2010 18:45:03 GMT
Depending on the file syntax, one could also do

            <resourcecount when="equal" count="0">
                        <fileset file="${file}"/>
                    <containsregexp expression="${regex}"/>

or replace the linebreaks by (e.g.) whitespace using a TokenFilter.
Assuming that everything is streamed (don't know whether that's the
case), this could be very efficient.

-- Niklas Matthies

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message