Author serhiy.storchaka
Recipients Kenzie Togami, ammar2, python-dev, serhiy.storchaka, terry.reedy
Date 2017-01-01.06:35:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1483252559.7.0.53821672138.issue29071@psf.upfronthosting.co.za>
In-reply-to
Content
The regular expression can be simplified using local flags:

-    stringprefix = (r"(\br|R|u|U|f|F|fr|Fr|fR|FR|rf|rF|Rf|RF"
-                    "|b|B|br|Br|bR|BR|rb|rB|Rb|RB)?")
+    stringprefix = r"(?i:\br|u|f|fr|rf|b|br|rb)?"
History
Date User Action Args
2017-01-01 06:35:59serhiy.storchakasetrecipients: + serhiy.storchaka, terry.reedy, python-dev, ammar2, Kenzie Togami
2017-01-01 06:35:59serhiy.storchakasetmessageid: <1483252559.7.0.53821672138.issue29071@psf.upfronthosting.co.za>
2017-01-01 06:35:59serhiy.storchakalinkissue29071 messages
2017-01-01 06:35:59serhiy.storchakacreate