in tools/SymbolsRange.java [196:205]
public static void printMatch(String symbols, Predicate p) {
int length = symbols.codePointCount(0, symbols.length());
for (int i = 0; i < length;) {
int codepoint = symbols.codePointAt(i);
i += Character.charCount(codepoint);
if (p.test(codepoint)) {
printCodepoint(codepoint);
}
}
}