#22255 Implemented support for re flags in RegexValidator