View Single Post
Old 06-19-2011, 04:50 PM   #20
scissors
Addict
scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.scissors ought to be getting tired of karma fortunes by now.
 
Posts: 241
Karma: 1001369
Join Date: Sep 2010
Device: prs300, kindle keyboard 3g
Quote:
Originally Posted by kovidgoyal View Post
Add

preprocess_regexps = [(re.compile('r<head.*?</head>', re.DOTALL), lambda m:'')]
Hi Kovid I noticed you put the ' before the r. I editted it to r' hoping it meant all between and including the <head> s weren't getting deleted.

it still crashes. :-(
scissors is offline   Reply With Quote