findByRegex method
Procura valores em uma string usando expressões regulares
Implementation
Iterable<String> findByRegex(String pattern, {bool caseSensitive = true, bool multiLine = false}) {
RegExp regExp = RegExp(
pattern,
caseSensitive: caseSensitive,
multiLine: multiLine,
);
return regExp.allMatches(this).map((match) => match.group(0)!).toList();
}