I knew I forgot something... fixed greedy regex which was supposed to be non-greedy for Lua minification.