Improve regex performance on msvc by removing statically allocated recursion stack, and using a std::vector instead.