}
}
int begin = value.getBegin();
int range = begin + value.getRealSize();
final Matcher matcher = pattern.matcher(value.getUnsafeBytes(), begin, range);
if (block.isGiven()) {
return scanIter(context, pattern, matcher, enc, block, begin, range, tuFlags);
} else {
return scanNoIter(context, pattern, matcher, enc, begin, range, tuFlags);