[Enhancement] Match both straight and curly apostrophe types when searching
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
calibre |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
There are two types of apostrophe symbol commonly used in digital works, the more casual straight type ' , and the more formal curly type ’ . Ideally a search should match no matter which type is used. E.g. as things stand currently, if I search my collection for "Gravity’s Rainbow" I get no results, and have to instead search for "Gravity's Rainbow". Obviously this is not a big problem nor very high priority enhancement request. But would be nice to have. It is an easy detail to miss for people wondering why their search might not be working.
Or, rather than just solving this specific example, maybe there is a more general solution which makes the search less sensitive to minor changes in punctuation?
If you want to match multiple apostrophes, say so in your search expression.
title:~Gravity['՚]s
https:/ /manual. calibre- ebook.com/ gui.html# the-search- interface
As for having calibre do it magically, the effort isnt worth it to me,
but patches are most welcome. I will note that searching inside the calibre viewer already does this.