It turns out false alarm. It work. I had other logic in the expression involving punctuation marks and got all confused with the escape characters. It becomes a mess trying to keep track of all the reserved character as you are going from module to module.
tobiah wrote: > Roman wrote: > > I looked at a book called beginning python and it claims that <.*?> is > > a non-greedy match. > > Yeah, I get that now, but why didn't it work for you in > the first place? > > -- > Posted via a free Usenet account from http://www.teranews.com -- http://mail.python.org/mailman/listinfo/python-list