encapsulate all regex patterns