diff options
author | Samy Pessé <samypesse@gmail.com> | 2016-05-23 13:00:01 +0200 |
---|---|---|
committer | Samy Pessé <samypesse@gmail.com> | 2016-05-23 13:00:01 +0200 |
commit | 721a75309bf3d796d5569d1d06473724c4445a88 (patch) | |
tree | 1b2b95255398a495d38342bcb46ee97fd6993c22 /lib/constants/configSchema.js | |
parent | b856bff91b843585b653351c70941865cfe576a3 (diff) | |
download | gitbook-721a75309bf3d796d5569d1d06473724c4445a88.zip gitbook-721a75309bf3d796d5569d1d06473724c4445a88.tar.gz gitbook-721a75309bf3d796d5569d1d06473724c4445a88.tar.bz2 |
Fix #1316: adapt regexp to handle dot in filenames
Diffstat (limited to 'lib/constants/configSchema.js')
-rw-r--r-- | lib/constants/configSchema.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/constants/configSchema.js b/lib/constants/configSchema.js index b9de04a..9a45bb3 100644 --- a/lib/constants/configSchema.js +++ b/lib/constants/configSchema.js @@ -1,4 +1,4 @@ -var FILENAME_REGEX = '^[0-9a-zA-Z ... ]+$'; +var FILENAME_REGEX = '^[a-z-._\d,\s]+$'; module.exports = { '$schema': 'http://json-schema.org/schema#', |