Emoji Character Category Crashes
Created by: mattzque
I'm trying to use the unicode character category Zsye
in a regular expression, but it crashes:
>>> from icu import RegexPattern; RegexPattern.compile('\p{Zsye}')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
icu.ICUError: ('Illegal argument', -1734444080, 32570, '泀颞缺\x00\x00\x00\x00\x00䑼Q\x00\x00彈颞缺\x00', '썡R\x00\x00殰駙缺\x00\x01\x00\x00\x00乀颫缺\x00'), error code: 1
Other character categories work fine.
Python: 3.6.8 PyICU: 2.2