ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jay <jvanderme...@comcast.net>
Subject Re: [PATCH] add regular expressions to ContainsSelector.java
Date Thu, 10 Apr 2003 22:19:29 GMT
I'm still new to how ant is organized, let me make sure I understand the 
preferred way to do this.  I had started to do the patch as a filter under 
/ant/filters but I was thinking that the filters were more geared to changing 
text, not just identifiying a file has a specific content.  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?  If that's not what you were asking for could
you point me in the right direction?

Thanks for your time on this.

Jay van der Meer

On Thursday 10 April 2003 01:13, Stefan Bodewig wrote:
> On Wed, 09 Apr 2003, Jay <jvandermeer2@comcast.net> wrote:
> > Attached is a update to ContainsSelector.java (based on 1.5.3) that
> > allows the users to specify the text attribute is to be used as a
> > regular expression.
>
> I'd prefer a separate ContainsRegexpSelector for this.  This would
> mirror the replace tasks or the linecontains filter readers.
>
> Stefan
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
> For additional commands, e-mail: dev-help@ant.apache.org


Mime
View raw message