ability to specify regex constraints for parameters