12-21-2017, 07:52 PM | #1 |
Connoisseur
Posts: 91
Karma: 10
Join Date: Mar 2014
Device: Libra H20, Clara 2E
|
Search is a regex??
Are the search fields in 'calibredb search ....' and 'calibredb list -s .....' both regexes?
thanks! Dan |
12-21-2017, 08:40 PM | #2 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
calibredb search follows exactly the same semantics as search in the GUI. https://manual.calibre-ebook.com/gui...arch-interface
|
Advert | |
|
12-21-2017, 08:50 PM | #3 |
Connoisseur
Posts: 91
Karma: 10
Join Date: Mar 2014
Device: Libra H20, Clara 2E
|
Thanks - I guess I'm missing something than :-( This is what confused me:
$ calibredb list -s title:"In the beginning" and author:"Isaac Asimov" id title authors 808 In the Beginning Isaac Asimov 1457 In the Beginning Chaim Potok $ calibredb search title:"In the beginning" and author:"Isaac Asimov" 808 So the search works exactly the way I expect, but list -s doesn't seem to. FYI, this is the one duplicate title in my library. Dan |
12-21-2017, 09:28 PM | #4 |
creator of calibre
Posts: 43,860
Karma: 22666666
Join Date: Oct 2006
Location: Mumbai, India
Device: Various
|
You need to quote properly.
calibredb list -s 'title:"In the beginning" and author:"Isaac Asimov"' |
12-21-2017, 09:57 PM | #5 |
Connoisseur
Posts: 91
Karma: 10
Join Date: Mar 2014
Device: Libra H20, Clara 2E
|
Thanks!
|
Advert | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Regex in search problems (NOT Search&Replace; the search bar) | lairdb | Calibre | 3 | 03-15-2017 07:10 PM |
Regex Search doesn't search all files in Edit Book | GregTheGrate | Editor | 8 | 11-08-2016 12:47 AM |
Search regex problem | ColMac | Editor | 23 | 04-17-2015 03:58 PM |
regex search/replace - how to? | Alt68er | Sigil | 1 | 03-11-2014 08:53 PM |
Regex search details | DiapDealer | Editor | 4 | 02-22-2014 11:58 AM |