saltstack/salt — pull request #7756 by Lothiraldan (2013-10-11 10:16:17+00:00)
Title: Update salt.modules.files.replace

When using salt.modules.files.replace, flags are not passed to re.sub if search_only is false.