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.

This pull request has now been integrated.

Changeset: 93ee19f5
Author:    Raffaello Giulietti <rgiulie...@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

Reply via email to