Integrated: 8305486: Add split() variants that keep the delimiters to String and j.u.r.Pattern
Raffaello Giulietti
rgiulietti at openjdk.org
Mon May 8 14:54:47 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.
This pull request has now been integrated.
Changeset: 93ee19f5
Author: Raffaello Giulietti <rgiulietti at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/93ee19f58aa8c436c2960d171ba4646a374aa2e3
Stats: 360 lines in 3 files changed: 335 ins; 1 del; 24 mod
8305486: Add split() variants that keep the delimiters to String and j.u.r.Pattern
Reviewed-by: jpai, rriggs
-------------
PR: https://git.openjdk.org/jdk/pull/13305
More information about the core-libs-dev
mailing list