throw new BuildException( "Missing match in setregex" );
}
RegularExpression regularExpression = new RegularExpression();
regularExpression.setPattern( match );
Regexp regexp = regularExpression.getRegexp( getProject() );
if (!regexp.matches( input, Regexp.MATCH_SINGLELINE )) {
return;
}
String substituted = regexp.substitute( input, value, Regexp.MATCH_SINGLELINE );
getProject().setProperty( property, substituted );
}