On 14/07/06, Steve Nelson <[EMAIL PROTECTED]> wrote: > How does one query a match object in this way? I am learning by > fiddling interactively.
If you're fiddling interactively, try the dir() command -- ie: >>> m = re.match(...) >>> dir(m) It will tell you what attributes the match object has. Or you can read the documentation --- a combination of both approaches usually works quite well :-) -- John. _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor