User can define a regex a variable must match