allMatchs method

Iterable<RegExpMatch> allMatchs(
  1. String regexp
)

查找字符串中所有匹配正则表达式的子字符串

返回一个可迭代的RegExpMatch对象集合

Implementation

Iterable<RegExpMatch> allMatchs(String regexp) {
  return RegExp(regexp).allMatches(this);
}