Buglet? Warning Message needed?
Hi
I have been using Search and Replace and the Saved Searches and switching between them in the Calibre Editor a lot recently.
I have noticed that when I appear to have have the sane regex in both and use the count facility on Search and Replace and the Saved Searches I sometimes get different counts.
I investigated the issue and found this
1. Highlight text <br class="calibre8"/>
2. Paste into Saved Searches Editor
3. Click on Count button
4. Get a count of X
5.Highlight text <br class="calibre8"/>
6.Click on Magnifying Glass Button
7. It puts the text
8. Use the Count Menu Option
9. Get a count of Y
I think I have spotted why this happens. When the Magnifying Glass Button is used to populate Search and Replace it escapes the outer chevrons i.e. \*<br class="calibre8"/>.
When text is pasted into Saved Searches it does not automatically escape the outer chevrons i.e. <br class="calibre8"/>.
I do not know what if anything should be done about the above but I have a suggestion which might help. Please see my next posting.
|