function isRegexLiteral(node) {
	return node.type === "Literal" && Object.hasOwn(node, "regex");
}
Determines whether the given node is a regex literal.
@param {ASTNode} node Node to check.
@returns {boolean} True if the node is a regex literal.