dot static method

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

Matches any single character (except newline in most modes)

Implementation

static Pattern dot([int? min, int? max]) {
  final pattern = Pattern._(nodes.Dot());
  return (min != null) ? pattern.repeat(min, max) : pattern;
}