Jesús Cea Avión <[email protected]> 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 <[email protected]>
<http://psf.upfronthosting.co.za/roundup/meta/issue390>
_______________________________________________________
_______________________________________________
Tracker-discuss mailing list
[email protected]
http://mail.python.org/mailman/listinfo/tracker-discuss