True, I could execute a simple groovy script using java.util.regex via the ant
task. I was able to get the 'sh -c' option working, as suggested
previously, but I'll keep this in mind.
-- Jeff
On Aug 16, 2012, at 7:55 AM, Martin Gainty wrote:
>
> Good Advice from the Employees at Lexmark!
Good Advice from the Employees at Lexmark!
I found java.util.regex package is quite useful for regular expression matching
..here is a simple example you can use
java.util.regex.Pattern p = java.util.regex.Pattern.compile("a*b");
java.util.regex.Matcher m = p.matcher("ab");
boolean b = m.
Jeff,
You might be able to do this natively within ant
This is how it could work for a single file:
Doing this this with *.xml is left as an exercise for the reader :-)
Harold
On Wed, Aug 15, 2012 at 6:56 PM, Jeff Lowery wrote:
> Have the following target:
>
>
>