RFR: 8305486: Add split() variants that keep the delimiters to String and j.u.r.Pattern
Raffaello Giulietti
rgiulietti at openjdk.org
Fri Apr 7 14:12:41 UTC 2023
On Mon, 3 Apr 2023 17:43:55 GMT, Raffaello Giulietti <rgiulietti at 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.
@RogerRiggs All concerns should have been addressed in the last commit, I hope.
-------------
PR Comment: https://git.openjdk.org/jdk/pull/13305#issuecomment-1500325392
More information about the core-libs-dev
mailing list