[CCing Matthew directly as I haven't received any mails from apache.org for a loooong time - although I hope this will be fixed when I get back online in about 14 hours]
I've committed the stuff, but have modified it so that the old RegexpMatcher stuff will still work. TODO: * Documentation for the task in Ant's normal HTML form. * Deciding whether we really want <replaceregexp>, <regularexpression> and <substitution> or can come up with something shorter than those. * Adding testcases for the various match options * Adding testcases for the substitution stuff * Unify substitution syntax to use \1 for references, no matter which regexp implementation is used * Make the task actually work (see below) * Provide a wrapper for classes that only implement the Matcher interface by stealing code from RegexpPatternMapper.replaceReferences * Make the regexp mapper use the new Regexp interface * (later) migrate all tasks that use ORO to the new Regexp classes IT DOESN'T WORK: I don't have a testcase class in it, but there already is a buildfile and a sample file (slightly modified version of Mathews original version) - I don't get the results I expect, no matter which implementation I use. I think that we'll identify the problem as soon as there are testcases for the substitution part (I'll do that) and should get the task up and running. Stefan
