Message172844
Serhiy, I expect this is easy to implement _inside_ the regexp engine. The complications come from trying to do it outside the engine. But even there, wrapping the original regexp <re> in
(?:<re>)\Z
is at worst very close. The only insecurity with that I've thought of concerns the doc's warnings about what can appear before an inline re.VERBOSE flag. It probably works fine even if <re> does begin with (?...x....). |
|
Date |
User |
Action |
Args |
2012-10-14 02:53:14 | tim.peters | set | recipients:
+ tim.peters, gvanrossum, pitrou, mrabarnett, serhiy.storchaka |
2012-10-14 02:53:14 | tim.peters | set | messageid: <1350183194.44.0.445184224545.issue16203@psf.upfronthosting.co.za> |
2012-10-14 02:53:14 | tim.peters | link | issue16203 messages |
2012-10-14 02:53:13 | tim.peters | create | |
|