From f6d28b62f0e02b8a88a1832589e203c7a613f45b Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 25 Nov 2022 22:06:40 -0500 Subject: regex review, match speed & compile time, ctregex - improve match time - add interim fontface identifier marker - improve compile time - remove unused regexs - separate out some specialized output matches --- org/out_src_pod.org | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'org/out_src_pod.org') diff --git a/org/out_src_pod.org b/org/out_src_pod.org index 4d6395c..fd0b2ba 100644 --- a/org/out_src_pod.org +++ b/org/out_src_pod.org @@ -48,7 +48,9 @@ template spinePod() { #+NAME: output_imports #+BEGIN_SRC d -import doc_reform.io_out; +import + doc_reform.meta.rgx_files, + doc_reform.io_out; import std.digest.sha, std.file, @@ -67,15 +69,15 @@ import debug(asserts) { // static assert(is(typeof(doc_matters) == tuple)); } -mixin spineRgxOut; +mixin spineRgxFiles; string pwd = doc_matters.env.pwd; auto src_path_info = doc_matters.src_path_info; auto pth_dr_doc_src = doc_matters.src_path_info; auto pths_pod = spinePathsPods!()(doc_matters); mixin spineLanguageCodes; auto lang = Lang(); -static auto rgx = RgxO(); -assert (doc_matters.src.filename.match(rgx.src_fn)); +static auto rgx_files = RgxFiles(); +assert (doc_matters.src.filename.match(rgx_files.src_fn)); #+END_SRC *** pod zip archive -- cgit v1.2.3