Jesús Cea Avión <j...@jcea.es> added the comment:

Enzo, your fix is

-    var nosy_text = nosy.value.replace(/\s+/g, '');
+    var nosy_text = nosy.value.replace(/,\s+/g, ',');

I don't think it is complete. You can have spaces before the comma, or at the 
begining/end of the nosy.

Maybe the easiest way would be to forget about regex and simply do something 
like

nosy_text = ",".join([i.strip() for i in nosy_text.split(",")])

----------
status: resolved -> chatting

_______________________________________________________
PSF Meta Tracker <metatrac...@psf.upfronthosting.co.za>
<http://psf.upfronthosting.co.za/roundup/meta/issue390>
_______________________________________________________
_______________________________________________
Tracker-discuss mailing list
Tracker-discuss@python.org
http://mail.python.org/mailman/listinfo/tracker-discuss

Reply via email to