mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 14:53:06 +02:00
Viewer: Ignore the zero width non-joiner character in searches
This commit is contained in:
parent
78c53c9da9
commit
c61cc4b14d
1 changed files with 1 additions and 1 deletions
|
|
@ -54,7 +54,7 @@ def stop(self):
|
|||
quote_map= {'"':'"“”', "'": "'‘’"}
|
||||
qpat = regex.compile(r'''(['"])''')
|
||||
spat = regex.compile(r'(\s+)')
|
||||
invisible_chars = '(?:[\u00ad\u200d]{0,1})'
|
||||
invisible_chars = '(?:[\u00ad\u200c\u200d]{0,1})'
|
||||
|
||||
|
||||
def text_to_regex(text):
|
||||
|
|
|
|||
Loading…
Reference in a new issue