diff options
author | Ralph Amissah <ralph@amissah.com> | 2020-01-25 13:34:47 -0500 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2020-02-26 09:59:18 -0500 |
commit | ed71ef0ac032456c882bea44b04c02863cb90a46 (patch) | |
tree | b6a27cbb13a31a2e3e436aa9d75d125aa586a2c5 /src/doc_reform/io_out/rgx.d | |
parent | address compilation issues with dmd (v2.090.0) (diff) |
code ctRegex calls, tidying
Diffstat (limited to 'src/doc_reform/io_out/rgx.d')
-rw-r--r-- | src/doc_reform/io_out/rgx.d | 5 |
1 files changed, 2 insertions, 3 deletions
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<keep_spaces>^[ ]+|[ ]{2,})`, "mg"); // code, verse, block |