Skip to content

Commit

Permalink
better regex for binary plist
Browse files Browse the repository at this point in the history
  • Loading branch information
tenox7 committed May 23, 2019
1 parent 1369c7c commit f92bd7e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fileio.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit f92bd7e

Please sign in to comment.