From: ajung at sz-sb.de (Andreas Jung)
Date: Sat, 17 Apr 1999 13:59:07 GMT
Subject: re.sub() loops
Message-ID: <Pine.GSO.4.10.9904171556010.28418-100000@moses.sz-sb.de>
X-UID: 1272                                                  

I am trying to do some lame HTML processing with some
HTML. The following lines tries to remove some
unneccessary code from a HTML file. However python hangs
in this call:

data = re.sub('<TABLE.*?es.*?da.*?en.*?fi.*?sv.*?TABLE>','',data)    

Any idea why ? My env: Python 1.5.2 under Solaris 2.5.1 - 7.0.

Andreas





