pub fn is_regex_pattern(pattern: &str) -> boolExpand description
Whether a rule’s pattern is a regular expression rather than a glob:
it says so with re:, or it carries a class (\b, \s, \d, \w)
or an alternation group, which a glob would read as literal text and
never match.