aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/io_in/read_source_files.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2020-01-25 13:34:47 -0500
committerRalph Amissah <ralph@amissah.com>2020-02-26 09:59:18 -0500
commited71ef0ac032456c882bea44b04c02863cb90a46 (patch)
treeb6a27cbb13a31a2e3e436aa9d75d125aa586a2c5 /src/doc_reform/io_in/read_source_files.d
parentaddress compilation issues with dmd (v2.090.0) (diff)
code ctRegex calls, tidying
Diffstat (limited to 'src/doc_reform/io_in/read_source_files.d')
-rw-r--r--src/doc_reform/io_in/read_source_files.d10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/doc_reform/io_in/read_source_files.d b/src/doc_reform/io_in/read_source_files.d
index 041ec91..7d826a9 100644
--- a/src/doc_reform/io_in/read_source_files.d
+++ b/src/doc_reform/io_in/read_source_files.d
@@ -11,8 +11,8 @@ template spineRawMarkupContent() {
doc_reform.meta,
doc_reform.io_in.paths_source,
doc_reform.meta.rgx;
- mixin spineRgxInit;
- static auto rgx = Rgx();
+ mixin spineRgxIn;
+ static auto rgx = RgxI();
string[] _images=[];
@safe string[] _extract_images(S)(S content_block) {
string[] images_;
@@ -125,7 +125,7 @@ template spineRawMarkupContent() {
return source_line_arr;
}
@safe string markupSourceReadIn(in string fn_src) {
- static auto rgx = Rgx();
+ static auto rgx = RgxI();
enforce(
fn_src.match(rgx.src_pth_sst_or_ssm),
"not a dr markup filename: «" ~
@@ -173,7 +173,7 @@ template spineRawMarkupContent() {
char[][] markup_sourcefile_insert_content,
string fn_src
) {
- mixin spineRgxInitFlags;
+ mixin spineRgxDocStructFlags;
char[][] contents_insert;
int[string] type1 = flags_type_init;
auto fn_pth_full = fn_src.match(rgx.src_pth_sst_or_ssm);
@@ -259,7 +259,7 @@ template spineRawMarkupContent() {
string fn_src
) {
import std.algorithm;
- mixin spineRgxInitFlags;
+ mixin spineRgxDocStructFlags;
char[][] contents;
int[string] type = flags_type_init;
auto fn_pth_full = fn_src.match(rgx.src_pth_sst_or_ssm);