The only thing that seems to be stable is this...
Match = re.search(".*/domains?/([^\./]+\.[^/]+)/", Dict["Home"])
True, it works for you, and anyone else who has the format as follows:
/various/paths/domain[s]/domain.name.here.with.dots/anything/else/here/will/do
The reason Gre7g changed it originally is so that you wouldn't be limited by having to have either "domain" or "domains" immediately before the domain name itself. I can't remember why, but it had something to do with some other virtual user scheme.
-- Jim Ramsay "Me fail English? That's unpossible!"
_____________________________________________ tmda-users mailing list ([EMAIL PROTECTED]) http://tmda.net/lists/listinfo/tmda-users