Caching all the regexps