I was always finding engines intriguing and maybe a bit intimidating, so I decided to implement my own in to understand better how they work. It implements the basic features (grep-like) and the implementation aims rather at clarity than performance (it is not slow, though). It was surprisingly easy to implement and much simpler than I'd imagine, so an interesting journey. I left some more details in README. https://github.com/twolodzko/t-rex