Message119126
As I see it, it's more like:
>>> re.search('a.*c|a.*|.*c', 'abc').group()
producing 'bc' instead of 'abc'. Substitute "(?<=^A)" for "a" and "(?=Z$)" for "c" in the pattern above.
In your example, the first part ('bc') does not match the whole string ('abc'). In my example, the first part ('(?<=^A).*(?=Z$)') matches the whole string ('A***Z'). |
|
Date |
User |
Action |
Args |
2010-10-19 07:50:15 | tzot | set | recipients:
+ tzot, georg.brandl |
2010-10-19 07:50:14 | tzot | set | messageid: <1287474614.93.0.792419717728.issue10139@psf.upfronthosting.co.za> |
2010-10-19 07:50:13 | tzot | link | issue10139 messages |
2010-10-19 07:50:12 | tzot | create | |
|