Don't reparse constant regexes every time