Added regexp validator

It's better to use more general ``search()`` instead of  ``match()``.