Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Change the filename matching regex to pick up files that don't necess…

…arily have one of our matching extensions... we'll try this one out for a while
  • Loading branch information...
commit bc49fc77f4dfe4e2b9ef7a99108750cfa584844b 1 parent 485d884
@matburt authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/com/matburt/mobileorg/Synchronizers/
2  src/com/matburt/mobileorg/Synchronizers/
@@ -194,7 +194,7 @@ else if (storageMode.equals("sdcard")) {
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()) {
Please sign in to comment.
Something went wrong with that request. Please try again.