aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/meta/rgx.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2020-04-28 22:47:10 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2020-05-20 11:27:26 -0400
commit33d4cd24013c8660c100a0070802a0e9d1211421 (patch)
tree104a4739bbc12a749b9b7a1aef56aec2ef8ec4c7 /src/doc_reform/meta/rgx.d
parent0.11.0 in_source_files, changed tracking of code blocks (diff)
metaverse, doc structure & blocks, change tracking
Diffstat (limited to 'src/doc_reform/meta/rgx.d')
-rw-r--r--src/doc_reform/meta/rgx.d6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/doc_reform/meta/rgx.d b/src/doc_reform/meta/rgx.d
index 5a0fbdc..07ec2d4 100644
--- a/src/doc_reform/meta/rgx.d
+++ b/src/doc_reform/meta/rgx.d
@@ -128,9 +128,9 @@ static template spineRgxIn() {
static smid_a_image = ctRegex!(`(?P<pre>(?:^|[ ]|[^\S]?)[{](?:~\^\s+|\s*))(?P<image>[a-zA-Z0-9._-]+?\.(?:png|gif|jpg))(?P<post>(?:.*?)\s*[}](?:image|(?:(?:https?|git):\/\/|¤?\.\.\/|¤?\.\/|¤|#)\S+?)(?=[;:!,?.]?([ )\]]|$)))`, "mg");
static smid_image_delimit = ctRegex!(`(?P<pre>^|[ ]|[^\S]?)\{\s*(?P<text>.+?)\s*\}(?:image)(?=[;:!,?.]?([ )\]]|$))`, "mg");
/+ inline markup book index +/
- static book_index = ctRegex!(`^=\{\s*(?P<bookindex>.+?)\}$`, "m");
- static book_index_open = ctRegex!(`^=\{\s*([^}]*?)$`);
- static book_index_close = ctRegex!(`^(.*?)\}$`, "m");
+ static book_index_item = ctRegex!(`^=\{\s*(?P<bookindex>.+?)\}$`, "m");
+ static book_index_item_open = ctRegex!(`^=\{\s*([^}]*?)$`);
+ static book_index_item_close = ctRegex!(`^(.*?)\}$`, "m");
static auto_heading_numbering_lv1 = ctRegex!(`^1~`, "m");
static auto_heading_numbering_lv2 = ctRegex!(`^2~`, "m");
static auto_heading_numbering_lv3 = ctRegex!(`^3~`, "m");