search-replace.pl refinements [MRB]