Python regex matching Unicode properties
Perl and some other current regex engines support Unicode properties, such as the category, in a regex. E.g. in Perl you can use \\p{Ll} to match an arbitrary lower-case letter, or p{Zs} for any space
问答
阅读(2)