Bottleneck? More efficient regular expression?

Tina Li tina_li23AThotmailDOTcom
Tue Sep 23 21:32:20 CEST 2003


Thanks for the suggestion. It does solve my problem -- but just out of curiosity, I'd like to know what caused the
over-limit as well.

Thanks again!


"David Eppstein" <eppstein at> wrote in message news:eppstein-22C96A.10011623092003 at
| In article <3f7069db_4 at>,
|  "Tina Li" <tina_li23 AT hotmail DOT com> wrote:
| > I've been struggling with a regular expression for parsing XML files,
| > which keeps giving the run time error "maximum recursion limit
| > exceeded".
| Why not use a real XML parser?  xml.parsers.expat is easy enough to use,
| doesn't have problems with recursion limits, and will continue working
| when someone generates a valid XML file in a slightly different version
| than the one you expect.
| -- 
| David Eppstein            
| Univ. of California, Irvine, School of Information & Computer Science

-----= Posted via Newsfeeds.Com, Uncensored Usenet News =----- - The #1 Newsgroup Service in the World!
-----==  Over 100,000 Newsgroups - 19 Different Servers! =-----

More information about the Python-list mailing list