A structured summary of practical flex tricks that may come up in real use, and a demonstration of how to solve a harder LeetCode problem by reusing the DFA generated by flex.