yeoman/grunt-usemin — pull request #117 by rantav (2013-05-20 21:06:32+00:00)
Title: Take care of multiple <script tags on the same line

Hi guys, I don't know if this a goal or a non-goal for you but anyway, I have a situation where I have multiple `...

');
}
return buf.join("");
};
})(jade);
```

So this in itself isn't actual HTML, but it's close enough so grunt-usemin is able to process it but the problem is when there are multiple `script` tags on the same line, in which case the capture pattern isn't correct and captures only the second `script2.js`.

So again, not sure whether this is a goal for you or whether there's a better way to achieve what I need but I wanted to make a PR just to raise the flag and provide a suggested solution.
The solution in itself isn't complete as it takes only care of `script` tags and not of other types of elements that appear in the list of `regexps` but to me that was the only problem and anyway if this is a good direction I can add the rest to this PR.

Thanks!