Tim Hatch

Weblog | Photos | Projects | Panoramas | About

Extending Python fnmatch for curlies 07 Oct, 2008

fnmatch2.py contains a modified translate function. With this you can convert {one,two}* fnmatch expressions into regexes successfully.