docs: public final int offsetIn(String s) {
      for (int offset = 0; offset < s.length(); ) {
        final int codePoint = s.codePointAt(offset);
        if (matches(codePoint)) {
          return offset;
        }
        offset += Character.charCount(codePoint);
      }
      return NO_MATCH_OFFSET;
    }