View Single Post
Old 02-27-2011, 12:44 PM   #7
Manichean
Wizard
Manichean invented the internet.Manichean invented the internet.Manichean invented the internet.Manichean invented the internet.Manichean invented the internet.Manichean invented the internet.Manichean invented the internet.Manichean invented the internet.Manichean invented the internet.Manichean invented the internet.Manichean invented the internet.
 
Manichean's Avatar
 
Posts: 3,130
Karma: 84534
Join Date: Feb 2008
Location: Germany
Device: Cybook Gen3
My advice re search and replace: Forget what I said earlier, go with Kovid's idea. (Just for the record, though, backreferences in Python style regexes are made with backslashes, so you probably want to use something like <div>\1</div>)
Manichean is offline   Reply With Quote