CharMatcher.pattern constructor

CharMatcher.pattern(
  1. String pattern
)

A matcher that accepts a regular expression character class.

Implementation

factory CharMatcher.pattern(String pattern) => fromPattern(pattern);