Make <replace> a matching task This is based on the concept in the patch submitted by Charles Tewksbury although the implementation details are a little different. Submitted by: Charles Tewksbury <tewks@adhesive.com>