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.

-------------

Commit messages:
 - 8305486: Add split() variants that keep the delimiters to String and 
j.u.r.Pattern

Changes: https://git.openjdk.org/jdk/pull/13305/files
 Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=13305&range=00
  Issue: https://bugs.openjdk.org/browse/JDK-8305486
  Stats: 384 lines in 3 files changed: 260 ins; 40 del; 84 mod
  Patch: https://git.openjdk.org/jdk/pull/13305.diff
  Fetch: git fetch https://git.openjdk.org/jdk.git pull/13305/head:pull/13305

PR: https://git.openjdk.org/jdk/pull/13305

Reply via email to