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