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/meta_debugs.org | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'org/meta_debugs.org') diff --git a/org/meta_debugs.org b/org/meta_debugs.org index 37be148..36d7bfe 100644 --- a/org/meta_debugs.org +++ b/org/meta_debugs.org @@ -34,7 +34,7 @@ template spineDebugs() { const S contents, T doc_matters, ) { - mixin spineRgxIn; + mixin spineRgxFiles; mixin InternalMarkup; <> <> @@ -54,7 +54,7 @@ template spineDebugs() { #+BEGIN_SRC d import doc_reform.meta.defaults, - doc_reform.meta.rgx; + doc_reform.meta.rgx_files; import std.algorithm, std.array, @@ -76,7 +76,7 @@ import #+NAME: initialize #+BEGIN_SRC d -static auto rgx = RgxI(); +static auto rgx_files = RgxFiles(); auto markup = InlineMarkup(); string key; #+END_SRC @@ -739,7 +739,7 @@ debug(summary) { #+NAME: meta_output_debugs_summary #+BEGIN_SRC d debug(checkdoc) { - if (auto mfn=match(doc_matters.src.filename, rgx.src_fn)) { + if (auto mfn=match(doc_matters.src.filename, rgx_files.src_fn)) { if (doc_matters.opt.action.assertions) { switch (mfn.captures[2]) { // live manual: -- cgit v1.2.3