notUpper static method

Pattern notUpper([
  1. int? min,
  2. int? max
])

Matches any non-uppercase character

Implementation

static Pattern notUpper([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;
}