public TextMateRange charRange(CharSequence s, byte[] stringBytes, int group) {
    TextMateRange range = codePointRange(stringBytes, group);
    return new TextMateRange(Character.offsetByCodePoints(s, 0, range.start),
                             Character.offsetByCodePoints(s, 0, range.end));
  }
public TextMateRange charRange(CharSequence s, byte[] stringBytes, int group)