Message312016
Serhiy, Is there any reason to not combine last two lines in one?
- regex = '(?P<%s>%s' % (directive, regex)
- return '%s)' % regex
+ return '(?P<%s>%s)' % (directive, regex)
or to use f-string to then get
+ return f'(?P<{directive}>{regex})' |
|
| Date |
User |
Action |
Args |
| 2018-02-11 23:09:45 | terry.reedy | set | recipients:
+ terry.reedy, dilyan.palauzov, serhiy.storchaka |
| 2018-02-11 23:09:45 | terry.reedy | set | messageid: <1518390585.87.0.467229070634.issue32801@psf.upfronthosting.co.za> |
| 2018-02-11 23:09:45 | terry.reedy | link | issue32801 messages |
| 2018-02-11 23:09:45 | terry.reedy | create | |
|