notLower static method
Matches any non-lowercase character
Implementation
static Pattern notLower([int? min, int? max]) {
final node = nodes.CharacterClass(
negated: true,
members: [nodes.Range(from: 'a', to: 'z')],
);
final pattern = Pattern._(node);
return (min != null) ? pattern.repeat(min, max) : pattern;
}