reverting accidental copy-paste merge of older code
modified documentation with explanation of how patterns and custom validators can be used together, and an example customValidator to be super clear