ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dominique Devienne" <ddevie...@gmail.com>
Subject Re: Changing regex implementation in LineContainsRegExp filter
Date Thu, 19 Jul 2007 19:14:00 GMT
Have you tried putting the ORO impl in ANT_HOME/lib?

But isn't you regexp more complex that it needs to be? --DD

On 7/19/07, Alex Egg <eggie5@gmail.com> wrote:
> By default it looks like the LineContainsRegExp filter uses the
> java.util.regex package by default. However, apparently
> this particular regex implementation doesn't support * metacharacters
> in look-behinds, e.g.: (?&lt;=\&lt;script
> .*src=\&quot;)[^\&quot;]+(?=\&quot;.*\&lt;/script\&gt;)
> How can I change the implementation?
>
> Thanks,
> Alex
>

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


Mime
View raw message