OH, I overlooked the fact that linecontainsregexp returns a whole line. I
guess I could reduce my regex to "<script".
But, now that I have my script tags, how can I get the src attribute values
out of them?

Alex

On 7/19/07, Dominique Devienne <[EMAIL PROTECTED]> 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 <[EMAIL PROTECTED]> 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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Reply via email to