grunt-sed
grunt-sed copied to clipboard
Multiple replacements in the same line
I was working on a minor change to cleanup generated source maps and used grunt-sed at first but had to switch after noticing that it was only replacing the first instance of a string on a line. I tried using /foo/g instead of a string pattern to no effect
Hmm not sure why that doesn't work. grunt-sed is just a light wrapper around replace so the issue could originate from that project. I'll investigate when I get a chance.
So I added a test for this and it seems to be working as expected. Can you upgrade to [email protected] and let me know if you are still experiencing the issue?