mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 14:25:41 +02:00
Fix regression caused by update of pyparser
This commit is contained in:
parent
02324108c6
commit
b5f8d582b3
1 changed files with 1 additions and 1 deletions
|
|
@ -1163,7 +1163,7 @@ def tokens(self):
|
|||
letters_seen[subnode.tag.sort[0]] = True
|
||||
charclass = ''.join(letters_seen)
|
||||
if k == 'author_sort':
|
||||
expr = r'%s:"~(^[%s])|(&\\s*[%s])"'%(k, charclass, charclass)
|
||||
expr = r'%s:"~(^[%s])|(&\s*[%s])"'%(k, charclass, charclass)
|
||||
else:
|
||||
expr = r'%s:"~^[%s]"'%(k, charclass)
|
||||
if node_searches[tag_item.tag.state] == 'true':
|
||||
|
|
|
|||
Loading…
Reference in a new issue