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