Is the (?U) PCRE modifier supposed to work in a search string in the editor ?
I keep getting an "unknown extension" error :
Code:
calibre, version 1.20.0
ERROR: Unhandled exception: <b>error</b>:unknown extension at position 2
calibre 1.20 isfrozen: True is64bit: False
Windows-XP-5.1.2600-SP3 Windows ('32bit', 'WindowsPE')
('Windows', 'XP', '5.1.2600')
Python 2.7.5
Windows: ('XP', '5.1.2600', 'SP3', 'Uniprocessor Free')
Traceback (most recent call last):
File "site-packages\calibre\gui2\tweak_book\boss.py", line 638, in search
File "site-packages\calibre\gui2\tweak_book\search.py", line 292, in get_regex
File "site-packages\regex\__init__.py", line 331, in compile
File "site-packages\regex\__init__.py", line 481, in _compile
error: unknown extension at position 2
when I use the search expression :
(?U)([^\s])Chapter .*</span>
BobC