Support continuous regex
Validity check