Validator comparisons

compare regex _patterns_ in `RegexValidator.__eq__`
instead of regex pattern objects

fixes #22588