cache regexes for include/exclude