|
|
#1 |
|
Connoisseur
![]() Posts: 96
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 |
|
|
|
|
|
#2 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,610
Karma: 28549044
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 | |
|
|
|
|
#3 |
|
Connoisseur
![]() Posts: 96
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 |
|
|
|
|
|
#4 |
|
creator of calibre
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 45,610
Karma: 28549044
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"' |
|
|
|
|
|
#5 |
|
Connoisseur
![]() Posts: 96
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 08:10 PM |
| Regex Search doesn't search all files in Edit Book | GregTheGrate | Editor | 8 | 11-08-2016 01:47 AM |
| Search regex problem | ColMac | Editor | 23 | 04-17-2015 04:58 PM |
| regex search/replace - how to? | Alt68er | Sigil | 1 | 03-11-2014 09:53 PM |
| Regex search details | DiapDealer | Editor | 4 | 02-22-2014 12:58 PM |