Merge pull request #1641 from blackwhale/ctr-replace

[REG 2.064a] 11262 std.regex.replace does not accept StaticRegex