any idea, if it is possible with regex (python 2.7) to get uniq chars unspitted into surrogate pairs for unicode graphemes?
According This Example this is possible with python 3.x. See here:
>>> import regex
>>> s = ''
>>> for c in regex.findall('\X',s):
... print(c)
...
but for python 2.7 it seems not to work. See example:
>>> import regex
>>> s = ''
>>> for c in regex.findall('\X',s):
... print(c)
�
�
�
�
�
�
�
�
...
Any ideas how to make this works for python 2.7?=))))
Thx u in advance!!!=)