mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-09 10:13:15 +02:00
Fix #1177114 (Cannot search for author name containing '"')
This commit is contained in:
parent
49578b23e6
commit
bb9466e58e
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ def __init__(self):
|
|||
(r'[()]', lambda x,t: (1, t)),
|
||||
(r'@.+?:[^")\s]+', lambda x,t: (2, unicode(t))),
|
||||
(r'[^"()\s]+', lambda x,t: (2, unicode(t))),
|
||||
(r'".*?((?<!\\)")', lambda x,t: (3, t[1:-1])),
|
||||
(r'".*?((?<!\\)")', lambda x,t: (3, t[1:-1].replace('\\"', '"'))),
|
||||
(r'\s+', None)
|
||||
], flags=re.DOTALL)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue