effect icon indicating copy to clipboard operation
effect copied to clipboard

`String.replace` should support a function for the `replaceValue`

Open dudeofawesome opened this issue 8 months ago • 0 comments

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

dudeofawesome avatar Apr 12 '25 01:04 dudeofawesome