mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Viewer: Ignore the zero width non-joiner character in searches
This commit is contained in:
parent
78c53c9da9
commit
c61cc4b14d
@ -54,7 +54,7 @@ class BusySpinner(QWidget): # {{{
|
||||
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…
x
Reference in New Issue
Block a user