From bae87303569f6a0ef991bb3dbfb4871079b58f30 Mon Sep 17 00:00:00 2001 From: Rob Aitchison Date: Tue, 21 Aug 2018 16:47:04 -0400 Subject: [PATCH] regex filter I just tested this so that I can allow dashes and underscores in filenames but disallow the others. Effectively an alphanumeric with the two character exceptions. --- core/templates.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/core/templates.yml b/core/templates.yml index ac1eeba4d..034688da9 100644 --- a/core/templates.yml +++ b/core/templates.yml @@ -39,7 +39,7 @@ keys: type: str name: type: str - filter_by: alphanumeric + filter_by: '^[a-zA-Z0-9_-]+$' iteration: type: int version: