https://github.com/imehar/regular-expression-to-NFA/blob/master/toc.cpp
https://www.gamedev.net/tutorials/_/technical/general-programming/finite-state-machines-and-regular-expressions-r3176/
https://www.leniel.net/2009/02/regular-expression-engine-in-csharp.html