diff options
author | Antoni Sawicki <tenox@google.com> | 2019-05-23 02:57:24 -0700 |
---|---|---|
committer | Antoni Sawicki <tenox@google.com> | 2019-05-23 02:57:24 -0700 |
commit | f92bd7e43d2e476658da5a51bd88ca64fc7e98fb (patch) | |
tree | ff2a0abb2c6faa573b3f05511601c2496e92eed6 | |
parent | 1369c7ca98eac845b1093881a0539c2637eadf4e (diff) | |
download | wfm-f92bd7e43d2e476658da5a51bd88ca64fc7e98fb.tar.gz |
better regex for binary plist
-rw-r--r-- | fileio.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -235,7 +235,7 @@ void goto_url(void) { if(regcomp(&r_is, "\\[InternetShortcut\\].*URL=([[:print:]]+)", REG_EXTENDED | REG_ICASE)!=0 || regcomp(&r_de, "\\[[Desktop Entry\\].*URL=([[:print:]]+)", REG_EXTENDED | REG_ICASE)!=0 || regcomp(&r_wl, "xml version.*<key>URL</key>.*<string>(.+)</string>", REG_EXTENDED | REG_ICASE)!=0 || - regcomp(&r_wb, ".*bplist.*URL_.*([[:print:]]+).*", REG_EXTENDED | REG_ICASE)!=0) + regcomp(&r_wb, ".*bplist.*URL_[^[:print:]].([[:print:]]+)", REG_EXTENDED | REG_ICASE)!=0) error("Unable to compile regex."); in=fopen(wp.phys_filename, "rb"); |