effect
effect copied to clipboard
`String.replace` should support a function for the `replaceValue`
What is the problem this feature would solve?
JavaScript's String.replace supports passing a function as the 2nd argument.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/String/replace#replacement
What is the feature you are proposing to solve the problem?
It would be nice if Effect's String.replace supported the function parameter as well.
What alternatives have you considered?
No response