Kyle Graehl added the comment: r"(\s+|;|$|,)" # Ending either at space, semicolon, or EOS. ( or comma...)
I remember running into this same problem like 5 years ago. I added a comma as a valid regexp for ending the pattern, and removed it as a valid _LegalKeyChars I also think adding the "Priority" reserved key might make sense (or at least have options for handling it) ---------- nosy: +Kyle Graehl _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue23930> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com