Adding a regex type and module.