Message259762
Another option might be to do away with the regular expression (personally I like to avoid REs and code generation where practical):
def _is_legal_key(key):
return key and set(_LegalChars).issuperset(key) |
|
Date |
User |
Action |
Args |
2016-02-07 05:12:57 | martin.panter | set | recipients:
+ martin.panter, jaraco, serhiy.storchaka, demian.brecht, anish.shah, Kunal Grover |
2016-02-07 05:12:57 | martin.panter | set | messageid: <1454821977.02.0.621526284535.issue26302@psf.upfronthosting.co.za> |
2016-02-07 05:12:57 | martin.panter | link | issue26302 messages |
2016-02-07 05:12:56 | martin.panter | create | |
|