Regex not working when there are not many spaces before </head>
Regex not working when there are not many spaces before </head>

I removed the caret ^ and the snippets are inserted correctly even if I
minify the HTML, if I don't remove the caret the snippets which contain
the meta "generator" or the sitemap are inserted after the body,
because it is the behaviour it has when the pattern does not match.

HonzaMikula/bolt,skript-cc/bolt,HonzaMikula/bolt,skript-cc/bolt,GDmac/bolt,HonzaMikula/bolt,GDmac/bolt,skript-cc/bolt,GDmac/bolt,HonzaMikula/bolt,skript-cc/bolt,GDmac/bolt