RegexpMatchChain extension

Chain style programming syntax sugar for regular expressions on strings. This extension directly mapped the RegExp interface in the dart:core.

on

Methods

hasMatch(RegExp regexp) bool

Available on String, provided by the RegexpMatchChain extension

matchAll(RegExp regexp, [int start = 0]) Iterable<RegExpMatch>

Available on String, provided by the RegexpMatchChain extension

Attention that the iterable will be lazy evaluated.
matchFirst(RegExp regexp) RegExpMatch?

Available on String, provided by the RegexpMatchChain extension