Author scoder
Recipients djhoulihan, scoder, serhiy.storchaka, xtreak
Date 2018-12-22.07:42:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
One regex related code pattern that I generally like is to assign bound methods to good names and use those. In this case, I would write

_has_non_base16_digits = re.compile(b'[^0-9A-F]').search
if _has_non_base16_digits(s):
    raise ...
Date User Action Args
2018-12-22 07:42:08scodersetrecipients: + scoder, serhiy.storchaka, xtreak, djhoulihan
2018-12-22 07:42:06scodersetmessageid: <>
2018-12-22 07:42:06scoderlinkissue35559 messages
2018-12-22 07:42:06scodercreate