Details
-
Wish
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
None
-
None
Description
It would be helpful to have a signature of String.replaceFirst that accepts a closure as a parameter, as replaceAll does. This would make the two more parallel, and it's also helpful for the valid case where you want to do some processing on the match, but you don't want to run it more than once.