I think RegExpValidator only checks if user input matches a particular regex. But what I want is user will enter regex and I'll need some api to check if the regex has syntax error or not.
1 person found this helpful
That sounds like fun !
I don't think Regex knows when Regex is valid.
You would need to hand roll your own validator, unless someone knows of one that is out there. Flex does not validate RegEx.
If this post answers your question or helps, please mark it as such.