Hoisted decode/encode regexps mentioned in #11537.