View Single Post
Old 07-25-2011, 11:01 AM   #3
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,233
Karma: 60807154
Join Date: Aug 2009
Location: The Central Coast of California
Device: Kobo Libra2,Kobo Aura2v1, K4NT(Fixed: New Bat.), Galaxy Tab A
Quote:
Originally Posted by rogue_librarian View Post
If would like Calibre to display all records with a custom field different from a given resulst, i.e. a Boolean NOT.

I have
Code:
#my_field:"=foo"
working as expected. How would I search for fields other than foo? For a single letter a regular expression might work, something like
PHP Code:
#my_field:"~[^X]" 
but for a string?

Is there an easy way to tell Calibre to display #my_field except if it contains "foo"?
have you tried putting a "not" in front of your (string) search term?
theducks is offline   Reply With Quote