Bottleneck? More efficient regular expression?
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.
"David Eppstein" <eppstein at ics.uci.edu> wrote in message news:eppstein-22C96A.10011623092003 at news.service.uci.edu...
| In article <3f7069db_4 at corp.newsgroups.com>,
| "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 http://www.ics.uci.edu/~eppstein/
| Univ. of California, Irvine, School of Information & Computer Science
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
More information about the Python-list