From c4e7b98b6fd6c5e88e33bb896d5eee54ce81eac3 Mon Sep 17 00:00:00 2001 From: Jonathan Bullock Date: Fri, 27 Jan 2017 22:00:02 +0000 Subject: [PATCH] Fixes #317. --- src/main/java/org/jbake/app/Oven.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/jbake/app/Oven.java b/src/main/java/org/jbake/app/Oven.java index 8ef85afe9..81b941d7a 100644 --- a/src/main/java/org/jbake/app/Oven.java +++ b/src/main/java/org/jbake/app/Oven.java @@ -29,7 +29,7 @@ public class Oven { private final static Logger LOGGER = LoggerFactory.getLogger(Oven.class); - private final static Pattern TEMPLATE_DOC_PATTERN = Pattern.compile("(?:template\\.)([a-zA-Z0-9]+)(?:\\.file)"); + private final static Pattern TEMPLATE_DOC_PATTERN = Pattern.compile("(?:template\\.)([a-zA-Z0-9-_]+)(?:\\.file)"); private CompositeConfiguration config; private File source;