Maybe I'm missing something, but couldn't this just be ``items = items.replace(' ', ',').split(',')``? That should be faster than a regex & clearer to boot. Don't get me wrong, I do love a good regex, just worrying about readability.