Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > Calibre > Library Management

Notices

Reply
 
Thread Tools Search this Thread
Old 01-22-2022, 01:48 AM   #1
glenm
Member
glenm began at the beginning.
 
glenm's Avatar
 
Posts: 19
Karma: 10
Join Date: Jul 2011
Location: Adelaide Australia
Device: Windows
Searching for Title Containing the character "

As the title says how do I search for a book title that contains the double quote character (i.e. ")
As a start entering one, two or three "'s in the search box doesn't work.
Using advanced search and entering " in the title box in the title/... tab search generates title:""" in the search box and returns nothing

Additionally how do I find books whose title starts with a "

All of the above functionality works with a single character like Z.

Thanks
glenm is offline   Reply With Quote
Old 01-22-2022, 05:03 AM   #2
theducks
Well trained by Cats
theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.theducks ought to be getting tired of karma fortunes by now.
 
theducks's Avatar
 
Posts: 31,047
Karma: 60358908
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
you need to escape special characters
Code:
 \"
in your search
theducks is offline   Reply With Quote
Advert
Old 01-22-2022, 05:30 AM   #3
glenm
Member
glenm began at the beginning.
 
glenm's Avatar
 
Posts: 19
Karma: 10
Join Date: Jul 2011
Location: Adelaide Australia
Device: Windows
Thanks
Obviously from what you said regular expressions can be used in the Search Bar.
Using \" returns all books that contain a ", adding on to your reply if I used ^\" that should return books that start with "
That doesn't work so what should I use to get books that start with a " character?
glenm is offline   Reply With Quote
Old 01-22-2022, 05:50 AM   #4
chaley
Grand Sorcerer
chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.chaley ought to be getting tired of karma fortunes by now.
 
Posts: 12,444
Karma: 8012886
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
Quote:
Originally Posted by glenm View Post
Thanks
Obviously from what you said regular expressions can be used in the Search Bar.
Using \" returns all books that contain a ", adding on to your reply if I used ^\" that should return books that start with "
That doesn't work so what should I use to get books that start with a " character?
Regular expressions can be used in searches, but they are not the default. I suggest you look at the calibre documentation The search interface.

To quote the relevant part of that document:
Quote:
Searches are by default ‘contains’. An item matches if the search string appears anywhere in the indicated metadata. Two other kinds of searches are available: equality search and search using regular expressions.

Equality searches are indicated by prefixing the search string with an equals sign (=). For example, the query tag:"=science" will match “science”, but not “science fiction” or “hard science”. Regular expression searches are indicated by prefixing the search string with a tilde (~). Any Python-compatible regular expression can be used. Note that backslashes used to escape special characters in regular expressions must be doubled because single backslashes will be removed during query parsing. For example, to match a literal parenthesis you must enter \\(. Regular expression searches are ‘contains’ searches unless the expression contains anchors.
The search you are looking for is
Code:
title:"~^\""
chaley is offline   Reply With Quote
Reply


Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Use "short" instead of "full" title for title sort & renaming? wolpi Library Management 2 08-04-2016 05:25 PM
Troubleshooting Searching for title Kumabjorn Amazon Kindle 2 09-21-2012 07:31 AM
Searching for author or title of book Kraftwerk Library Management 4 03-13-2012 08:11 AM
CHM with hash character (#) in title won't open Asmod Library Management 2 08-19-2011 11:06 AM
TOC Title Character Limit edmac Calibre 1 03-03-2011 11:23 AM


All times are GMT -4. The time now is 08:11 PM.


MobileRead.com is a privately owned, operated and funded community.