function trySimpleParseSelector(selector) {
	if (selector === "*") {
		return {
			type: "wildcard",
			value: "*",
		};
	}

	if (/^[a-z]+$/iu.test(selector)) {
		return {
			type: "identifier",
			value: selector,
		};
	}

	return null;
}
Tries to parse a simple selector string, such as a single identifier or wildcard.
This saves time by avoiding the overhead of esquery parsing for simple cases.
@param {string} selector The selector string to parse.
@returns {Object|null} An object describing the selector if it is simple, or `null` if it is not.