add regex note and example

This updates the readme with a regex example and note about setting it to true in the validation if used.