> the SRE engine already supports character classes based on > ASCII, the current locale (via ctype.h), and the Unicode char- > set. How do I ask for a locale letter? The re module only defines escapes for "word" and "digit". > we should probably add more classes -- at least the full list of > POSIX [:name:] classes, and probably also unicode categories. +1 > fwiw, I've played with adding "charset" objects to SRE, which > would allow you to plug in custom [:spam:] sets as well (e.g. > xml name chars). +1 --Guido van Rossum (home page: http://www.python.org/~guido/)
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4