programming
Regular Expressions for Objects
For work I recently needed to do something that is very similar to regexes, but with a twist: it should operate on lists of objects, not only on strings. Luckily, Python came to the rescue with REfO, a library for doing just this. My usecase was selecting phrases from Part-of-Speech