}
<BUG>int[] countMatches(String[] domain, String pattern) {
</BUG>
int[] res = new int[domain.length];
<BUG>for (int i=0; i < domain.length; i++)
res[i] += StringUtils.countMatches(domain[i],pattern);
</BUG>
return res;
}
}

}
}
}.doAll(1, fr).outputFrame();
return new ValFrame(fr2);
}
int[] countMatches(String[] domain, String[] pattern) {
int[] res = new int[domain.length];
for (int i=0; i < domain.length; i++)
for (String aPattern : pattern)
res[i] += StringUtils.countMatches(domain[i], aPattern);
return res;
}
}
