Build regex in init() for performance and cleaner call function.