# File lib/rake.rb, line 1455
1455:     def sub(pat, rep)
1456:       inject(FileList.new) { |res, fn| res << fn.sub(pat,rep) }
1457:     end