It seems that the Python3.5 re
module doesn't support \pP
(which works in Java and PHP), what should I do?
Asked
Active
Viewed 61 times
0

flgang
- 104
- 5
-
string.punctuation does not include chinese punctuation – flgang Mar 28 '17 at 08:52
-
The [`regex`](https://pypi.python.org/pypi/regex) module supports it, or there are other options on the dupe. – jonrsharpe Mar 28 '17 at 08:54
-
yes, i install regex module ,and it works .thanks – flgang Mar 28 '17 at 09:11