Detector regexp for windows had a pointless grouping in it.

This commit is contained in:
Reinier Zwitserloot committed 2011-06-07 22:09:59 -07:00
1 parent 612431bbbb
commit deb6b061ce
1 file changed
+1 -1
@@ -126,7 +126,7 @@ public abstract class IdeFinder {
String prop = System.getProperty("os.name", "").toLowerCase();
if (prop.matches("^.*\\bmac\\b.*$")) return OS.MAC_OS_X;
if (prop.matches("^.*\\bdarwin\\b.*$")) return OS.MAC_OS_X;
if (prop.matches("^.*\\bwin(dows)\\b.*$")) return OS.WINDOWS;
if (prop.matches("^.*\\bwindows\\b.*$")) return OS.WINDOWS;
return OS.UNIX;
}