operator & method
Returns a matcher that matches any character matched by either this
matcher or other
.
Implementation
CharMatcher operator &(CharMatcher other) => switch (other) {
AnyCharMatcher() => this,
NoneCharMatcher() => other,
ConjunctiveCharMatcher(matchers: final matchers) =>
ConjunctiveCharMatcher([this, ...matchers]),
_ => ConjunctiveCharMatcher([this, other])
};