On Mon, 3 Apr 2023 17:43:55 GMT, Raffaello Giulietti <rgiulie...@openjdk.org> wrote:
> Add `split()` overloads to `String` and `java.util.regex.Pattern` that, in > addition to the substrings returned by current `split()` variants, also > return the delimiters matching the regular expression. Also see [here](https://mail.openjdk.org/pipermail/core-libs-dev/2023-March/103379.html) for some background discussion. ------------- PR Comment: https://git.openjdk.org/jdk/pull/13305#issuecomment-1494734763