[FTB] Don't call replace() in escapePattern() unless required
[FTB] Don't call replace() in escapePattern() unless required

MozillaSecurity/FuzzManager,MozillaSecurity/FuzzManager,MozillaSecurity/FuzzManager,MozillaSecurity/FuzzManager