mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
d86cfb826a
commit
ad72e89072
@ -129,7 +129,7 @@ class SearchQueryParser(object):
|
|||||||
self.optimize = optimize
|
self.optimize = optimize
|
||||||
# Define a token
|
# Define a token
|
||||||
self.standard_locations = locations
|
self.standard_locations = locations
|
||||||
location = Optional(Word(alphas+'#', bodyChars=alphanums)+Suppress(':'),
|
location = Optional(Word(alphas+'#', bodyChars=alphanums+'_')+Suppress(':'),
|
||||||
default='all')
|
default='all')
|
||||||
word_query = CharsNotIn(string.whitespace + '()')
|
word_query = CharsNotIn(string.whitespace + '()')
|
||||||
#quoted_query = Suppress('"')+CharsNotIn('"')+Suppress('"')
|
#quoted_query = Suppress('"')+CharsNotIn('"')+Suppress('"')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user