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/odt.d | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/doc_reform/io_out/odt.d') diff --git a/src/doc_reform/io_out/odt.d b/src/doc_reform/io_out/odt.d index 67b34ba..09ff63d 100644 --- a/src/doc_reform/io_out/odt.d +++ b/src/doc_reform/io_out/odt.d @@ -12,9 +12,9 @@ template formatODT() { doc_reform.io_out.create_zip_file, doc_reform.io_out.xmls, doc_reform.io_out.xmls_css; - mixin spineOutputRgxInit; + mixin spineRgxOut; struct formatODT { - static auto rgx = Rgx(); + static auto rgx = RgxO(); @safe string _tags(O)(const O obj) { string _tags = ""; if (obj.tags.anchor_tags.length > 0) { @@ -56,7 +56,7 @@ template formatODT() { return _on; } @safe string _footnotes()(string _txt) { - static auto rgx = Rgx(); + static auto rgx = RgxO(); _txt = _txt.replaceAll( rgx.inline_notes_al_regular_number_note, format(q"┃ @@ -603,8 +603,8 @@ template outputODT() { doc_reform.io_out.xmls, doc_reform.io_out.xmls_css; mixin InternalMarkup; - mixin spineOutputRgxInit; - static auto rgx = Rgx(); + mixin spineRgxOut; + static auto rgx = RgxO(); // mixin outputXmlODT; @safe string odt_head(I)(I doc_matters) { string _has_tables = format(q"┃ -- cgit v1.2.3