From 1dab1836fe17ecdbf750b99832c4d1f789bedcf1 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Wed, 6 May 2020 18:51:42 -0400 Subject: doc abstraction, code & org whitespace, cosmetic --- org/default_regex.org | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) (limited to 'org/default_regex.org') diff --git a/org/default_regex.org b/org/default_regex.org index 6e6ee00..d9020d4 100644 --- a/org/default_regex.org +++ b/org/default_regex.org @@ -28,7 +28,7 @@ http://dlang.org/phobos/std_regex.html 【】〖〗┥┝┤├¤░┘┙┚┼┿╂┊┏┚┆■☼ #+END_SRC -** _module template_ :module: +** _module template_ :module: #+BEGIN_SRC d :tangle "../src/doc_reform/meta/rgx.d" /++ @@ -43,7 +43,7 @@ static template spineRgxIn() { } #+END_SRC -** misc :misc: +** misc :misc: #+NAME: meta_rgx #+BEGIN_SRC d @@ -82,7 +82,7 @@ static numeric = ctRegex!(`[ 0-9,.-]+`); static numeric_col = ctRegex!(`^[ 0-9,.%$£₤Є€€¥()-]+$`); #+END_SRC -** comments :comment: +** comments :comment: #+NAME: meta_rgx #+BEGIN_SRC d @@ -98,7 +98,7 @@ static comment = ctRegex!(`^%+ `); #+END_SRC ** native headers -*** native header :native:header: +*** native header :native:header: #+NAME: meta_rgx #+BEGIN_SRC d @@ -110,7 +110,7 @@ static yaml_header_meta_title = ctRegex!(`^\s*title\s*:\ static yaml_config = ctRegex!(`^[a-z]+\s*:\s*(?:"?\w|$)`, "m"); #+END_SRC -** heading & paragraph operators :paragraph:operator: +** heading & paragraph operators :paragraph:operator: #+NAME: meta_rgx #+BEGIN_SRC d @@ -139,7 +139,7 @@ static para_inline_link_anchor = ctRegex!(`\*[~](?P(?:(h);)?(?P(?:[, ]+[0-9]+)+))[)][}]`, "mg"); #+END_SRC -*** block sub-matches :block: +*** block sub-matches :block: **** code #+NAME: meta_rgx @@ -203,7 +203,7 @@ static table_col_separator = ctRegex!(`┊`); static table_col_separator_nl = ctRegex!(`[┊]$`, "mg"); #+END_SRC -** inline markup :inline:footnote: +** inline markup :inline:footnote: *** footnotes & endnotes #+NAME: meta_rgx @@ -222,7 +222,7 @@ static inline_note_square_delimiters = ctRegex!(`(~\[\s*)(.+?)( static note_ref = ctRegex!(`^\S+?noteref_(?P[0-9]+)`, "mg"); // {^{73.}^}#noteref_73 #+END_SRC -*** links/ urls :inline:footnote: +*** links/ urls :inline:footnote: #+NAME: meta_rgx #+BEGIN_SRC d @@ -235,7 +235,7 @@ static smid_inline_link_endnote_url_helper_punctuated = ctRegex!(`\{~\^\s+(?P.+?)\}(?P(?:(?:https?|git):\/\/|¤?\.\.\/|¤?\.\/|¤|#)\S+)`, "mg"); #+END_SRC -*** images :images: +*** images :images: #+NAME: meta_rgx #+BEGIN_SRC d @@ -248,7 +248,7 @@ static smid_a_image = ctRegex!(`(?P
(?:^|
 static smid_image_delimit                              = ctRegex!(`(?P
^|[ ]|[^\S]?)\{\s*(?P.+?)\s*\}(?:image)(?=[;:!,?.]?([ )\]]|$))`, "mg");
 #+END_SRC
 
-*** inline markup book index                             :inline:bookindex:
+*** inline markup book index                               :inline:bookindex:
 
 #+NAME: meta_rgx
 #+BEGIN_SRC d
@@ -274,7 +274,7 @@ static auto_heading_numbering_off_lv3                = ctRegex!(`^3~\S*?-\s`, "m
 static auto_heading_numbering_off_lv4                = ctRegex!(`^4~\S*?-\s`, "m");
 #+END_SRC
 
-** no object_number object                                :ocn:off:object:
+** no object_number object                                    :ocn:off:object:
 
 #+NAME: meta_rgx
 #+BEGIN_SRC d
@@ -285,7 +285,7 @@ static object_number_off_all                        = ctRegex!(`[~-]#$`, "m");
 static repeated_character_line_separator            = ctRegex!(`^(?:[ ]*(?:(?:[.][ ]*){4,}|(?:[-][ ]*|[~][ ]*|[*][ ]*|[$][ ]*|[#][ ]*|[\\][ ]*|[/][ ]*){2,})\s*?)+$`);
 #+END_SRC
 
-** no object_number block                                  :ocn:off:block:
+** no object_number block                                      :ocn:off:block:
 
 #+NAME: meta_rgx
 #+BEGIN_SRC d
@@ -296,7 +296,7 @@ static object_number_off_block_close                = ctRegex!(`^--\+#$`);
 static object_number_block_marks                    = ctRegex!(`^--[+~-]#$`);
 #+END_SRC
 
-** ignore outside code blocks                                   :block:code:
+** ignore outside code blocks                                    :block:code:
 
 #+NAME: meta_rgx
 #+BEGIN_SRC d
@@ -304,7 +304,7 @@ static object_number_block_marks                    = ctRegex!(`^--[+~-]#$`);
 static skip_from_regular_parse    = ctRegex!(`^(--[+~-]#|-[\\]{2}-|=[.\\]{2}=)$`);
 #+END_SRC
 
-** line & page breaks                                                :break:
+** line & page breaks                                                 :break:
 
 #+NAME: meta_rgx
 #+BEGIN_SRC d
@@ -312,7 +312,7 @@ static skip_from_regular_parse    = ctRegex!(`^(--[+~-]#|-[\\]{2}-|=[.\\]{2}=)$`
 static break_string                                   = ctRegex!(`』`);
 #+END_SRC
 
-** biblio tags                                                 :biblio:tags:
+** biblio tags                                                  :biblio:tags:
 
 #+NAME: meta_rgx
 #+BEGIN_SRC d
@@ -321,7 +321,7 @@ static biblio_tags                                    = ctRegex!(`^(is|au|author
 static biblio_abbreviations                           = ctRegex!(`^(au|ed|ti|lng|jo|vol|edn|yr|pl|pb|pub|pg|pgs|sn)$`);
 #+END_SRC
 
-** bookindex split                                         :bookindex:split:
+** bookindex split                                          :bookindex:split:
 
 #+NAME: meta_rgx
 #+BEGIN_SRC d
@@ -342,7 +342,7 @@ static topic_register_sub_terms_split                 = ctRegex!(`\s*\|\s*`);
 static topic_register_multiple_sub_terms_split        = ctRegex!(`␣([^|␣]+(?:\|[^|␣]+)+)`);
 #+END_SRC
 
-** language codes                                           :language:codes:
+** language codes                                            :language:codes:
 
 #+NAME: meta_rgx
 #+BEGIN_SRC d
@@ -358,7 +358,7 @@ http://dlang.org/phobos/std_regex.html
 - Regex!char (wchar/dchar) that contains a pattern in the form of compiled bytecode.
 - StaticRegex!char (wchar/dchar) that contains a pattern in the form of compiled native machine code.
 
-** _module template_                                           :module:output:
+** _module template_                                            :module:output:
 
 #+BEGIN_SRC d :tangle "../src/doc_reform/io_out/rgx.d"
 /++
@@ -413,7 +413,7 @@ static spaces_line_start                              = ctRegex!(`^(?P