fix bug: matching scripts in htmlmined html file
The original regex for matching <script src="..." in html file can only match script tags in different lines.
If the content of a html file (for example a html file which has been htmlmined) looks like this:
<script src="js/vendor-437841c1.js"></script><script src="js/script-9d21274e.js"></script>
It can not be matched correctly. New regex could solve this problem.
so it needs a non-greedy lookup? I suppose this is one way of doing it. Once actual html parsing is in then this shouldn't be needed.
@eddiemonge Sorry, I didn't get why this shouldn't be needed once actual html parsing is in?
Once we can parse the html then most of the regexes won't be required since we will be able to do something like document.script.src
@eddiemonge Cool! Get it, thanks!