Bug 951947 - IonMonkey: Inline the call to str.replace(re, string), r=jandem