Mageia Bugzilla – Attachment 9878 Details for
Bug 22314
python-regex causes calibre crash on a Turkish locale system
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
Log In
[x]
|
New Account
|
Forgot Password
[patch]
regexp_core patch
regex-2015.11.22-mga-uppercase_digit.patch (text/plain), 668 bytes, created by
Atilla ÖNTAŞ
on 2018-01-04 01:48:39 CET
(
hide
)
Description:
regexp_core patch
Filename:
MIME Type:
Creator:
Atilla ÖNTAŞ
Created:
2018-01-04 01:48:39 CET
Size:
668 bytes
patch
obsolete
>Index: regex-2015.11.22/Python2/_regex_core.py >=================================================================== >--- regex-2015.11.22/Python2/_regex_core.py >+++ regex-2015.11.22/Python2/_regex_core.py 2018-01-04 03:36:54.285759109 +0300 >@@ -4280,8 +4280,8 @@ > > # Predefined character set escape sequences. > CHARSET_ESCAPES = { >- "d": lookup_property(None, "Digit", True), >- "D": lookup_property(None, "Digit", False), >+ "d": lookup_property(None, "DIGIT", True), >+ "D": lookup_property(None, "DIGIT", False), > "s": lookup_property(None, "Space", True), > "S": lookup_property(None, "Space", False), > "w": lookup_property(None, "Word", True),
Index: regex-2015.11.22/Python2/_regex_core.py =================================================================== --- regex-2015.11.22/Python2/_regex_core.py +++ regex-2015.11.22/Python2/_regex_core.py 2018-01-04 03:36:54.285759109 +0300 @@ -4280,8 +4280,8 @@ # Predefined character set escape sequences. CHARSET_ESCAPES = { - "d": lookup_property(None, "Digit", True), - "D": lookup_property(None, "Digit", False), + "d": lookup_property(None, "DIGIT", True), + "D": lookup_property(None, "DIGIT", False), "s": lookup_property(None, "Space", True), "S": lookup_property(None, "Space", False), "w": lookup_property(None, "Word", True),
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 22314
: 9878