toNfa

fun OrderNode.toNfa(): NFA(source)

Constructs a NFA using Thompson's construction algorithm (YouTube)