...
Rename validateRegex to checkRegexSyntax