Fix greedy regexp bug

Conflicts:
	tasks/grunt-cdn.js