fixed windows path parsing regex