re_groups function
dynamic
re_groups(
- dynamic m$1
Implementation
dc.dynamic re_groups(dc.dynamic m$1, ){
final dc.int gc$1=(m$1 as dc.Match).groupCount;
if((0==gc$1)){
return ((m$1 as dc.Match).group(0, ));
}
dc.dynamic ret$1=lcoc_core.transient(lcoc_core.$_EMPTY_VECTOR, );
dc.int c$1=0;
do {
if((c$1<=gc$1)){
ret$1=(lcoc_core.conj$BANG_.$_invoke$2(ret$1, ((m$1 as dc.Match).group(c$1, )), ));
c$1=(1+c$1);
continue;
}
return lcoc_core.persistent$BANG_(ret$1, );
} while(true);
}