aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/meta
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2022-01-20 15:20:01 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2022-01-21 09:20:00 -0500
commit845f6440b8d2a672769f553a45aa1406c17d4c4f (patch)
tree4c0c0360922170f8b3c01c6a3199b9cdece92716 /src/doc_reform/meta
parentorg files naming, minor (diff)
xmls, html group text output (bullets & indents)
Diffstat (limited to 'src/doc_reform/meta')
-rw-r--r--src/doc_reform/meta/rgx.d3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/doc_reform/meta/rgx.d b/src/doc_reform/meta/rgx.d
index 78b86a4..5df1e9c 100644
--- a/src/doc_reform/meta/rgx.d
+++ b/src/doc_reform/meta/rgx.d
@@ -96,7 +96,7 @@ static template spineRgxIn() {
static raw_author_munge = ctRegex!(`(?P<last>\S.+?),\s+(?P<first>.+)`,"i");
static yaml_header_meta_title = ctRegex!(`^\s*title\s*:\s*(?:"?\w|$)`, "m");
static yaml_config = ctRegex!(`^[a-z]+\s*:\s*(?:"?\w|$)`, "m");
- /+ heading & paragraph operators +/
+ /+ heading operators +/
static heading_a = ctRegex!(`^:?[A][~] `, "m");
static heading = ctRegex!(`^:?([A-D1-4])[~]([a-z0-9_.-]*[?]?)\s+`,"i");
static headings = ctRegex!(`^:?(?P<level>[A-D1-4])[~](?:[a-z0-9_.-]*[?]?|[!](?:glossary|bibliogrphy|biblio|references?|blurb))(?:\s|$)`,"i");
@@ -112,6 +112,7 @@ static template spineRgxIn() {
static heading_biblio = ctRegex!(`^1[~][!](biblio(?:graphy)?|references?)`);
static heading_glossary = ctRegex!(`^1[~][!](glossary)`);
static heading_blurb = ctRegex!(`^1[~][!](blurb)`);
+ /+ paragraph operators +/
static para_bullet = ctRegex!(`^_[*] `);
static para_bullet_indent = ctRegex!(`^_(?P<indent>[1-9])[*] `);
static para_indent = ctRegex!(`^_(?P<indent>[1-9])[ ]`);