View Single Post
Old 10-14-2011, 03:38 PM   #1
GMRabelink
Junior Member
GMRabelink began at the beginning.
 
GMRabelink's Avatar
 
Posts: 8
Karma: 10
Join Date: Oct 2011
Device: Nook Simple Touch Glowlight
Exclamation Problems with 'search-and-replace' conversion in versions 0.8.21 and/or 0.8.22?

Hi.

Is anybody having problems with 'search-and-replace' conversions in the Calibre versions 0.8.21 and/or 0.8.22?

I've been using regexs in conversions for some time now and usually I get the job done pretty well.
Yesterday I updated to Calibre version 0.8.21; everything seemed OK. But then I tried a LIT to EPUB conversion, using 'search-and-replace'. I ended up with an EPUB file, but no replaced statements...
The regex I used was really very simple and worked perfectly when I tested it; all the desired expressions were highlighted.

I made several attempts; conversion works, the replace-function doesn't.
Today I saw the announcement of version 0.8.22 and decided to update again. Maybe then 'search-and-replace' would work again...? It didn't.

In the job details, I can see the regexs I used (bold):

'sr1_replace': u'<p>FOXMASK DIT IS EEN TEST</p>',
'sr1_search': u'<p>F O X M A S K</p>',

'sr2_replace': None,
'sr2_search': None,
'sr3_replace': None,
'sr3_search': None,

Looks like the conversion detects the 'search-and-replace' commands, but I can't find anything that looks related to it in the rest of the job details.

Also, the Calibre version 0.8.22 is very, very slow...
It takes up to a minute to open a regular expression Wizard. This used to take a few seconds.

Is anybody having similar problems?
Please

Last edited by GMRabelink; 10-14-2011 at 03:41 PM.
GMRabelink is offline   Reply With Quote