function validateRegExpLiteral(node) {
            validateRegExp(node.regex.pattern, node.regex.flags, node)
        }
Validate RegExp syntax in a RegExp literal.
@param {ASTNode} node A Literal node to check.
@returns {void}