(PDB-950) Implemented upfront regexp validation for API v4 for HLSQL db only