Re: RFR: 8347027: String replaceAll with Function

2025-05-21 Thread Markus KARG
What is the benefit over the existing replacement methods? Is it easier to use, uses less resources, runs quicker...? Am 20.05.2025 um 19:04 schrieb kieran-farrell: New API to the String.java class - replaceAllMapped(String, Function) that allows regex based replacement via a user defined funct

Re: RFR: 8347027: String replaceAll with Function

2025-05-20 Thread Roger Riggs
On Tue, 20 May 2025 16:59:10 GMT, kieran-farrell wrote: > New API to the String.java class - replaceAllMapped(String, > Function) that allows regex based replacement via a user > defined function allowing dynamic replacemnt based on the match. It delegates > to the already existing Pattern.mat

Re: RFR: 8347027: String replaceAll with Function

2025-05-20 Thread Roger Riggs
On Tue, 20 May 2025 16:59:10 GMT, kieran-farrell wrote: > New API to the String.java class - replaceAllMapped(String, > Function) that allows regex based replacement via a user > defined function allowing dynamic replacemnt based on the match. It delegates > to the already existing Pattern.mat

RFR: 8347027: String replaceAll with Function

2025-05-20 Thread kieran-farrell
New API to the String.java class - replaceAllMapped(String, Function) 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). - Commit messages: - w