Commits

Anonymous committed 0e97527

Change the filename matching regex to pick up files that don't necessarily have one of our matching extensions... we'll try this one out for a while

Comments (0)

Files changed (1)

src/com/matburt/mobileorg/Synchronizers/Synchronizer.java

     }
 
     HashMap<String, String> getOrgFilesFromMaster(String master) {
-        Pattern getOrgFiles = Pattern.compile("\\[file:(.*?\\.(?:org|pgp|gpg|enc))\\]\\[(.*?)\\]\\]");
+        Pattern getOrgFiles = Pattern.compile("\\[file:(.*?)\\]\\[(.*?)\\]\\]");
         Matcher m = getOrgFiles.matcher(master);
         HashMap<String, String> allOrgFiles = new HashMap<String, String>();
         while (m.find()) {