ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Egg" <egg...@gmail.com>
Subject Re: Changing regex implementation in LineContainsRegExp filter
Date Fri, 20 Jul 2007 18:29:14 GMT
I don't think so. What do you suggest?
I just want to get the value of the src attributes from all the script tags.

Alex

On 7/19/07, Dominique Devienne <ddevienne@gmail.com> wrote:
>
> 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
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message