3 ms·
For a good nerdy time, check out the first implementations of glob and regexp. 20 years on they still work in modern Pythons. Soon after Guido decided to make g
by aristus 15y ago
For a good nerdy time, check out the first implementations of glob and regexp. 20 years on they still work in modern Pythons. Soon after Guido decided to make globs a special case of regexp, and his elegant recursive code was no more.
http://svn.python.org/view/python/trunk/Lib/glob.py?revision=2268&view=markup http://svn.python.org/view/python/trunk/Lib/glob.py?revision...
http://svn.python.org/view/python/trunk/Lib/sre_compile.py?revision=14919&view=markup http://svn.python.org/view/python/trunk/Lib/sre_compile.py?r...