Use a case insensitive regex for matching filenames.
[debian/openrocket] / core / src / net / sf / openrocket / startup / Startup.java
index 7a854efe7fbfce16e0eeceb9cfea8532abae439b..31b9d2d8b88ff4dacaf91e19398bcdb0db03232e 100644 (file)
@@ -58,7 +58,7 @@ public class Startup {
 
                // Must be done after localization is initialized
                ComponentPresetDatabase componentPresetDao = new ComponentPresetDatabase();
-               componentPresetDao.load("datafiles/presets", ".*csv");
+               componentPresetDao.load("datafiles/presets", "(?i).*csv");
                Application.setComponentPresetDao( componentPresetDao );
                
                // Continue startup in Startup2 class (where Application is already set up)