Don't use compile from 're' module in validators.

We can't copy object which poduces re.compile function.