On 4 October 2014 11:26, Steven D'Aprano steve@pearwood.info wrote:
I don't see a use for supporting the full range of regexes. As far as I am concerned, globbing is complicated enough for what I need, and full support for arbitrary regexes is YAGNI.
I don't know how unicodedata is implemented, but would it be practical to simply expose a function that iterates over every name in the database? Then you could simply do
(name for name in unicodedata.names() if name.startswith(prefix))
Paul.