Use RegExp groups to split matches.

Conflicts:
	main.js