function getAllRegExpLiterals() {
			return sourceCode.ast.tokens.filter(
				token => token.type === "RegularExpression",
			);
		}
Retrieves an array containing all RegExp literals in the source code.
@returns {ASTNode[]} An array of RegExp literal nodes.