1. Jean-Marie Gaillourdet
  2. mobile-org-android

Commits

Matthew Jones  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

  • Participants
  • Parent commits de41b67
  • Branches default

Comments (0)

Files changed (1)

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

View file
     }
 
     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()) {