Withdrawn: 8347027: String replaceAll with Function<String, String>
kieran-farrell
duke at openjdk.org
Wed May 21 16:25:57 UTC 2025
On Tue, 20 May 2025 16:59:10 GMT, kieran-farrell <duke at openjdk.org> wrote:
> New API to the String.java class - replaceAllMapped(String, Function<MatchResult, String>) that allows regex based replacement via a user defined function allowing dynamic replacemnt based on the match. It delegates to the already existing Pattern.matcher().replaceAll(Function).
This pull request has been closed without being integrated.
-------------
PR: https://git.openjdk.org/jdk/pull/25335
More information about the core-libs-dev
mailing list