ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Alex Egg" <egg...@gmail.com>
Subject Changing regex implementation in LineContainsRegExp filter
Date Thu, 19 Jul 2007 18:58:05 GMT
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

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message