This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients demian.brecht, jaraco, serhiy.storchaka
Date 2016-02-06.08:35:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1454747747.07.0.718390405318.issue26302@psf.upfronthosting.co.za>
In-reply-to
Content
Ah, how can I missed this catch?

The simplest way is just move "-" to the start or the end of character list. The most error-proof way is to use re.escape().
History
Date User Action Args
2016-02-06 08:35:47serhiy.storchakasetrecipients: + serhiy.storchaka, jaraco, demian.brecht
2016-02-06 08:35:47serhiy.storchakasetmessageid: <1454747747.07.0.718390405318.issue26302@psf.upfronthosting.co.za>
2016-02-06 08:35:46serhiy.storchakalinkissue26302 messages
2016-02-06 08:35:46serhiy.storchakacreate