ucd

Python regex matching Unicode properties

Python regex matching Unicode properties Question: 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 separator. I don’t see support for this in either the 2.x nor 3.x lines …

Total answers: 6