My Colleague With the Super Power!
I once had a colleague with a super power.
No, he couldn’t fly like Superman, manipulate minds like Professor Xavier or heal like Wolverine. He had a really useful super power: He could read Python regular expressions!
For mere mortals regular expressions are write-only collections of control characters and they have a very hard time understanding, let alone analyzing or debugging them. For those of us who don’t have a super hero ready to rescue us damsels in distress, we can use commented regular expressions, as in
| |
This is the same as
| |
Except you’ll have a chance to understand the former, but probably not the latter.