First pass at switching to c++11 regex on Windows.