From dfffaba40a19def1d2f16654e7e3134c1067ca1e Mon Sep 17 00:00:00 2001 From: Gunnar Schaefer Date: Wed, 6 Dec 2017 11:12:01 -0600 Subject: [PATCH] Refine file types --- bootstrap.sample.json | 28 ++++++++++++++++++---------- 1 file changed, 18 insertions(+), 10 deletions(-) diff --git a/bootstrap.sample.json b/bootstrap.sample.json index 60350b6c0..a945dfa9f 100644 --- a/bootstrap.sample.json +++ b/bootstrap.sample.json @@ -45,24 +45,32 @@ { "_id": "MATLAB Data", "regex": "\\.mat$" }, { "_id": "PsychoPy Data", "regex": "\\.psydat$" }, + { "_id": "C/C++", "regex": "\\.(c|cpp)$" }, + { "_id": "CSS", "regex": "\\.css$" }, + { "_id": "HDF5", "regex": "\\.(h5|hdf5)$" }, + { "_id": "HTML", "regex": "\\.(html|htm)$" }, + { "_id": "JSON", "regex": "\\.json$" }, + { "_id": "Java", "regex": "\\.java$" }, + { "_id": "JavaScript", "regex": "\\.js$" }, + { "_id": "Jupyter", "regex": "\\.ipynb$" }, + { "_id": "MATLAB", "regex": "\\.(m|mex|mlx)$" }, + { "_id": "Markdown", "regex": "\\.(md|markdown)$" }, + { "_id": "PHP", "regex": "\\.php$" }, + { "_id": "Plain Text", "regex": "\\.txt$" }, + { "_id": "Python", "regex": "\\.py$" }, + { "_id": "TOML", "regex": "\\.toml$" }, + { "_id": "XML", "regex": "\\.xml$" }, + { "_id": "YAML", "regex": "\\.(yaml|yml)$" }, + { "_id": "Archive", "regex": "\\.(zip|tbz2|tar\\.gz|tbz|tar\\.bz2|tgz|tar|txz|tar\\.xz)$" }, { "_id": "Audio", "regex": "\\.(mp3|wav|wave)$" }, { "_id": "Document", "regex": "\\.(docx|doc)$" }, - { "_id": "HDF5", "regex": "\\.(h5|hdf5)$" }, { "_id": "Image", "regex": "\\.(jpg|tif|jpeg|gif|bmp|png|tiff)$" }, - { "_id": "JSON", "regex": "\\.json$" }, { "_id": "Log", "regex": "\\.log$" }, - { "_id": "Markdown", "regex": "\\.(md|markdown)$" }, - { "_id": "Markup", "regex": "\\.(html|htm)$" }, { "_id": "PDF", "regex": "\\.pdf$" }, - { "_id": "Plain Text", "regex": "\\.txt$" }, { "_id": "Presentation", "regex": "\\.(ppt|pptx)$" }, - { "_id": "Source code", "regex": "\\.(c|py|cpp|js|m|json|java|php|css|toml|yaml|yml)$" }, { "_id": "Spreadsheet", "regex": "\\.(xls|xlsx)$" }, - { "_id": "TOML", "regex": "\\.toml$" }, { "_id": "Tabular data", "regex": "\\.([ct]sv\\.gz|[ct]sv)$" }, - { "_id": "Video", "regex": "\\.(mpeg|mpg|mov|mp4|m4v|mts)$" }, - { "_id": "XML", "regex": "\\.xml$" }, - { "_id": "YAML", "regex": "\\.(yaml|yml)$" } + { "_id": "Video", "regex": "\\.(mpeg|mpg|mov|mp4|m4v|mts)$" } ] }