A beautiful gem of code from the Python docs.
Date: 2021-01-07
Categories: Beautiful Code
So once again I found myself looking at the documentation for the Python re module, trying to remember the difference between matches and matching groups and I saw a code snippet that was so beautiful that I wanted to break it down and share it. It’s a fully-functional mini-language tokenizer in only 41 lines of … Read More