It would be pretty cool to have a "global" replace that doesn't stop on the first instance of the matched pattern, similar to how sed has the g flag.
For example Go Snaps depends on this library, and it would make it a lot more usable to replace all ids in a json with a placeholder
It would be pretty cool to have a "global" replace that doesn't stop on the first instance of the matched pattern, similar to how
sedhas thegflag.For example Go Snaps depends on this library, and it would make it a lot more usable to replace all ids in a json with a placeholder