Use a case insensitive regex for matching filenames.
authorkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Mon, 16 Apr 2012 19:14:29 +0000 (19:14 +0000)
committerkruland2607 <kruland2607@180e2498-e6e9-4542-8430-84ac67f01cd8>
Mon, 16 Apr 2012 19:14:29 +0000 (19:14 +0000)
git-svn-id: https://openrocket.svn.sourceforge.net/svnroot/openrocket/trunk@559 180e2498-e6e9-4542-8430-84ac67f01cd8

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)