re_matches function
dynamic
re_matches(
- dynamic re$1,
- dynamic s$1
Implementation
dc.dynamic re_matches(dc.dynamic re$1, dc.dynamic s$1, ){
final dc.RegExp re$2=dc.RegExp((lcoc_core.str.$_invoke$3("(?:", (re$1 as dc.RegExp).pattern, ")\$", )), multiLine: (re$1 as dc.RegExp).isMultiLine, caseSensitive: (re$1 as dc.RegExp).isCaseSensitive, unicode: (re$1 as dc.RegExp).isUnicode, dotAll: (re$1 as dc.RegExp).isDotAll, );
final dc.Match? some$7481_$AUTO_$1=(re$2.matchAsPrefix((s$1 as dc.String), ));
if((null==some$7481_$AUTO_$1)){
return null;
}
final dc.Match? m$1=some$7481_$AUTO_$1;
return lcoc_core.re_groups(m$1, );
}