Start refactoring Regex management.