From 0df78294a111f1d37eff8c9e1cae218c4012be08 Mon Sep 17 00:00:00 2001 From: Leonid Pereverzin Date: Thu, 18 May 2023 15:15:26 +0300 Subject: [PATCH] SNRK-89: better regular expr --- snark-document-builder/src/main/python/SnarkParser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/snark-document-builder/src/main/python/SnarkParser.py b/snark-document-builder/src/main/python/SnarkParser.py index fb71d7f..2f6ac35 100644 --- a/snark-document-builder/src/main/python/SnarkParser.py +++ b/snark-document-builder/src/main/python/SnarkParser.py @@ -8,7 +8,7 @@ string = sys.argv[1] outputfile = sys.argv[2] if len(sys.argv) >= 3 else None -pattern = r'^([\n|\t| ]*@include\([a-z|0-9|.|_]*.md\)[\n|\t| ]*)*$' +pattern = r'^([\n|\t| ]*@include\([a-z|0-9|.|_|\/]*\)[\n|\t| ]*)*$' files = []