Made version_re more lenient so it works on Windows.