ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
Subject Re: [PATCH] add regular expressions to ContainsSelector.java
Date Fri, 11 Apr 2003 06:01:16 GMT
On Thu, 10 Apr 2003, Jay <jvandermeer2@comcast.net> wrote:

> I was thinking that the filters were more geared to changing text,
> not just identifiying a file has a specific content.

You are absolutely correct.  What I tried to say in my clumsy way:

We have to tasks that perform replacements, replace and replaceregexp.
We have two filter readers that select lines based on matching,
linecontains and linecontainsregexp.  Following that it would be
consistent to have to selectors based on matching, contains and
containsregexp.

> So would it be ok to make ContainsRegexpSelector under
> /ant/types/selectors that is basically the same as ContainsSelector
> but just accepts a single parm and does the regular expression
> search only?

Exactly.

> Thanks for your time on this.

Thank you

        Stefan

Mime
View raw message