ability to specify regex directly