aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortenox7 <as@tenoware.com>2017-12-14 00:51:58 -0800
committertenox7 <as@tenoware.com>2017-12-14 00:51:58 -0800
commit8cc1decbd6afc1053d940900574b82689626e708 (patch)
tree942ea5701a1a1e7a02067fde61316f292497687f
parent7d8e1aea30cb93a0794567d0cbe2411211f18b02 (diff)
downloadwfm-8cc1decbd6afc1053d940900574b82689626e708.tar.gz
added json and yaml files to txt type
-rw-r--r--dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dir.c b/dir.c
index f10139c..5b10980 100644
--- a/dir.c
+++ b/dir.c
@@ -45,7 +45,7 @@ void dir_icoinita(void) {
regcomp(&reg_iso, "\\.(iso|flp|img|nrg|dmg)$", REG_EXTENDED | REG_ICASE)!=0 ||
regcomp(&reg_med, "\\.(mp3|mp4|vaw|mov|avi|ivr|mkv)$", REG_EXTENDED | REG_ICASE)!=0 ||
regcomp(&reg_pdf, "\\.(pdf|ps|eps|ai)$", REG_EXTENDED | REG_ICASE)!=0 ||
- regcomp(&reg_txt, "\\.(txt|asc|nfo|me|log|htm|html|shtml|js|jsp|php|xml|dtd|css|bas|c|h|cpp|cmd|bat|sh|ksh|awk|reg|log|bak|cfg|py)$", REG_EXTENDED | REG_ICASE)!=0 ||
+ regcomp(&reg_txt, "\\.(txt|asc|nfo|me|log|htm|html|shtml|js|jsp|php|xml|dtd|css|bas|c|h|cpp|cmd|bat|sh|ksh|awk|reg|log|bak|cfg|py|json|yaml|url)$", REG_EXTENDED | REG_ICASE)!=0 ||
regcomp(&reg_exe, "\\.(exe|com|pif)$", REG_EXTENDED | REG_ICASE)!=0
) error("Unable to compile regex.");