boolean (final @NotNull TextRange rangeInsideHost, @NotNull StringBuilder outChars) { String subText = rangeInsideHost.substring(myHost.getText()); Ref<int[]> sourceOffsetsRef = new Ref<>(); boolean result = parseStringCharacters(subText, outChars, sourceOffsetsRef, isRegExpLiteral(), !isOneLine()); outSourceOffsets = sourceOffsetsRef.get(); return result; }