void (int currentPosition) { this.currentPosition = currentPosition; currentCharPosition = currentPosition > 0 ? RegexUtil.codePointOffsetByByteOffset(myStringBytes, currentPosition) : currentPosition; }