workaround prime cases of issue 10985 in std.regex
Merge pull request #1553 from blackwhale/force-inline-regex

Some simple std.regex optimization