View Single Post
Old 07-25-2011, 10:54 AM   #1
rogue_librarian
Guru
rogue_librarian ought to be getting tired of karma fortunes by now.rogue_librarian ought to be getting tired of karma fortunes by now.rogue_librarian ought to be getting tired of karma fortunes by now.rogue_librarian ought to be getting tired of karma fortunes by now.rogue_librarian ought to be getting tired of karma fortunes by now.rogue_librarian ought to be getting tired of karma fortunes by now.rogue_librarian ought to be getting tired of karma fortunes by now.rogue_librarian ought to be getting tired of karma fortunes by now.rogue_librarian ought to be getting tired of karma fortunes by now.rogue_librarian ought to be getting tired of karma fortunes by now.rogue_librarian ought to be getting tired of karma fortunes by now.
 
rogue_librarian's Avatar
 
Posts: 973
Karma: 4269175
Join Date: Apr 2010
Location: Europe
Device: Pocketbook Basic 613
invert search for custom fields (GUI)

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"?
rogue_librarian is offline   Reply With Quote