stricter whitespace in karma regex