Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple replacements in the same line #6

Open
acdha opened this issue Apr 9, 2013 · 2 comments
Open

Multiple replacements in the same line #6

acdha opened this issue Apr 9, 2013 · 2 comments

Comments

@acdha
Copy link

acdha commented Apr 9, 2013

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

@jharding
Copy link
Owner

jharding commented Apr 9, 2013

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.

jharding pushed a commit that referenced this issue Apr 10, 2013
jharding pushed a commit that referenced this issue Apr 10, 2013
@jharding
Copy link
Owner

So I added a test for this and it seems to be working as expected. Can you upgrade to grunt-sed@0.1.1 and let me know if you are still experiencing the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants