Message303844
Another solution (works in 3.6 too): set idpattern to r'(?-i:[_a-zA-Z][_a-zA-Z0-9]*)'.
This looks pretty weird, setting the re.IGNORECASE flag and then unsetting it. But it works, and don't break the user code that changes idpattern without changing flags. |
|
Date |
User |
Action |
Args |
2017-10-06 19:04:41 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, barry, rhettinger, ezio.melotti, mrabarnett, methane |
2017-10-06 19:04:41 | serhiy.storchaka | set | messageid: <1507316681.54.0.213398074469.issue31672@psf.upfronthosting.co.za> |
2017-10-06 19:04:41 | serhiy.storchaka | link | issue31672 messages |
2017-10-06 19:04:41 | serhiy.storchaka | create | |
|