View Single Post
Old 02-27-2011, 12:44 PM   #7
Manichean
Wizard
Manichean will give the Devil his due.Manichean will give the Devil his due.Manichean will give the Devil his due.Manichean will give the Devil his due.Manichean will give the Devil his due.Manichean will give the Devil his due.Manichean will give the Devil his due.Manichean will give the Devil his due.Manichean will give the Devil his due.Manichean will give the Devil his due.Manichean will give the Devil his due.
 
Manichean's Avatar
 
Posts: 3,127
Karma: 77366
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>)
__________________
I reject your reality and substitute my own.
Manichean is offline   Reply With Quote