From ed71ef0ac032456c882bea44b04c02863cb90a46 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Sat, 25 Jan 2020 13:34:47 -0500 Subject: code ctRegex calls, tidying --- src/doc_reform/io_out/rgx.d | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/doc_reform/io_out/rgx.d') diff --git a/src/doc_reform/io_out/rgx.d b/src/doc_reform/io_out/rgx.d index 4d0801c..32d457d 100644 --- a/src/doc_reform/io_out/rgx.d +++ b/src/doc_reform/io_out/rgx.d @@ -2,9 +2,8 @@ regex: regular expressions used in sisu document parser +/ module doc_reform.io_out.rgx; -static template spineOutputRgxInit() { - import doc_reform.io_out.defaults; - static struct Rgx { +static template spineRgxOut() { + static struct RgxO { static newline = ctRegex!("\n", "mg"); static space = ctRegex!(`[ ]`, "mg"); static spaces_keep = ctRegex!(`(?P^[ ]+|[ ]{2,})`, "mg"); // code, verse, block -- cgit v1.2.3