Michael Tiller: >In C++, I could write a statement like this: >if (match=re.match(pattern, string)) >But I cannot figure out how to do the equivalent thing in Python. "This issue comes up in the Python newsgroup with alarming frequency" http://www.python.org/doc/FAQ.html#6.30 -- René Pijlman Wat wil jij leren? http://www.leren.nl