Let the entire regex be configurable