04-06-2018, 11:40 AM | #1 |
Guru
Posts: 924
Karma: 53902736
Join Date: Jun 2015
Device: multiple
|
Either/Or search isn't working...
I may have missed a previous question here, because the site ignores "either" and "or" when searching for "either" or "or".
But searching "term1" (term2 OR term3) just gets a red search bar and ignores term2 and term3. And searching "term1" (term2|term3), as suggested here https://manual.calibre-ebook.com/regexp.html , also gets a red search bar and ignores term2 and term3. |
04-06-2018, 03:07 PM | #2 |
Well trained by Cats
Posts: 29,872
Karma: 55267620
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
|
Which search bar?
What did you enter Code:
red or blue in REGEX searches (MDE,editor) it would be Code:
red|blue |
Advert | |
|
04-13-2018, 02:44 PM | #3 |
Guru
Posts: 924
Karma: 53902736
Join Date: Jun 2015
Device: multiple
|
In the search bar at the top of the Calibre window.
And I tried OR first. B OR C works. A (B OR C) turns red. |
04-28-2018, 10:36 PM | #4 |
Zealot
Posts: 105
Karma: 2029154
Join Date: Sep 2013
Location: Pacific Northwest
Device: iPad Mini, iPhone 12, Kindle Paperwhite 3
|
I don't know if it's the optimal/suggested way of doing it, but I usually search for A, then click on the Virtual Library button and select "current search" (which clears the search bar while still showing only the items that fulfilled the search for A), and then do the search for B OR C. You can keep adding to the "current search" using this method, winnowing down by subsearch after subsearch if you want.
|
04-29-2018, 12:35 AM | #5 | |
null operator (he/him)
Posts: 20,616
Karma: 26960534
Join Date: Mar 2012
Location: Sydney Australia
Device: none
|
Quote:
Thanks for the tip. FTR - I normally wrap each term in parentheses, to make the expression rock-solid non-ambiguous. BR |
|
Advert | |
|
04-29-2018, 04:58 AM | #6 | |
Grand Sorcerer
Posts: 11,759
Karma: 7029857
Join Date: Jan 2010
Location: Notts, England
Device: Kobo Libra 2
|
Quote:
Code:
A and (B or C) And again FWIW: note that "and" takes precedence over "or", meaning that Code:
A B C D E or F Code:
(A and B and C and D and E) or F Code:
(A and B and C and D) and (E or F) EDIT: Fix will be in the next calibre release (3.23) Last edited by chaley; 04-29-2018 at 11:08 AM. |
|
Tags |
calibre, either/or search, or search, search |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to turn hyphens on? (isn't working) | indieauthor83 | Kindle Formats | 2 | 03-06-2015 08:24 AM |
plugboard file renaming isn't working | BeccaPrice | Calibre | 7 | 01-20-2013 07:59 AM |
New 'Calibre Style' Interface isn't working | Fanchee | Calibre | 10 | 06-09-2012 11:30 PM |
Why isn't Autoformat working on this book? | Robotech_Master | Workshop | 0 | 01-04-2009 02:58 PM |
The Moscow Times recipe isn't working. | girlperson1 | Calibre | 4 | 12-01-2008 06:42 AM |