diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2021-04-16 12:09:56 -0400 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2021-04-19 11:02:16 -0400 |
commit | 8072ebdcbe3bf5bce3f2cce3539c95bcaa308a71 (patch) | |
tree | 4f94b58061674a58f154be3099df21d13227fe1e /org/default_regex.org | |
parent | epub, minor adjustments (diff) |
org-mode, cosmetic
Diffstat (limited to 'org/default_regex.org')
-rw-r--r-- | org/default_regex.org | 48 |
1 files changed, 24 insertions, 24 deletions
diff --git a/org/default_regex.org b/org/default_regex.org index 210d777..8e3e0ec 100644 --- a/org/default_regex.org +++ b/org/default_regex.org @@ -29,7 +29,7 @@ https://dlang.org/phobos/std_regex.html 【】〖〗┥┝┤├¤░┘┙┚┼┿╂┊┏┚┆■☼ #+END_SRC -** _module template_ :module: +** _module template_ :module: #+BEGIN_SRC d :tangle "../src/doc_reform/meta/rgx.d" <<doc_header_including_copyright_and_license>> @@ -75,7 +75,7 @@ static template spineRgxIn() { } #+END_SRC -** misc :misc: +** misc :misc: #+NAME: meta_rgx_0 #+BEGIN_SRC d @@ -114,7 +114,7 @@ static numeric = ctRegex!(`[ 0-9,.-]+`); static numeric_col = ctRegex!(`^[ 0-9,.%$£₤Є€€¥()-]+$`); #+END_SRC -** comments :comment: +** comments :comment: #+NAME: meta_rgx_1 #+BEGIN_SRC d @@ -130,7 +130,7 @@ static comment = ctRegex!(`^%+ `); #+END_SRC ** native headers -*** native header :native:header: +*** native header :native:header: #+NAME: meta_rgx_3 #+BEGIN_SRC d @@ -142,7 +142,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_4 #+BEGIN_SRC d @@ -171,7 +171,7 @@ static para_inline_link_anchor = ctRegex!(`\*[~](?P<ancho #+END_SRC ** blocked markup -*** blocked markup curly & tic :block: +*** blocked markup curly & tic :block: #+NAME: meta_rgx_5 #+BEGIN_SRC d @@ -180,7 +180,7 @@ static block_open = ctRegex!("^((code(?:[.][ static block_poem_open = ctRegex!("^((poem(?:[(][ a-zA-Z0-9;:,]*[)])?[{][ ]*$)|`{3} poem(?:[(][ a-zA-Z0-9;:,]*[)])?)"); #+END_SRC -*** blocked markup tic :block:tic: +*** blocked markup tic :block:tic: #+NAME: meta_rgx_6 #+BEGIN_SRC d @@ -194,7 +194,7 @@ static block_tic_table_open = ctRegex!("^`{3} table(?: static block_tic_close = ctRegex!("^(`{3})$","m"); #+END_SRC -*** blocked markup curly :block:curly: +*** blocked markup curly :block:curly: #+NAME: meta_rgx_7 #+BEGIN_SRC d @@ -214,7 +214,7 @@ static block_curly_table_close = ctRegex!(`^([}]table)`); static block_curly_table_special_markup = ctRegex!(`^[{]table[(](?P<attrib>(?:(h);)?(?P<columns>(?:[, ]+[0-9]+)+))[)][}]`, "mg"); #+END_SRC -*** block sub-matches :block: +*** block sub-matches :block: **** code #+NAME: meta_rgx_8 @@ -235,7 +235,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_10 @@ -254,7 +254,7 @@ static inline_note_square_delimiters = ctRegex!(`(~\[\s*)(.+?)( static note_ref = ctRegex!(`^\S+?noteref_(?P<ref>[0-9]+)`, "mg"); // {^{73.}^}#noteref_73 #+END_SRC -*** links/ urls :inline:footnote: +*** links/ urls :inline:footnote: #+NAME: meta_rgx_11 #+BEGIN_SRC d @@ -267,7 +267,7 @@ static smid_inline_link_endnote_url_helper_punctuated = ctRegex!(`\{~\^\s+(?P<co static smid_inline_link_endnote_url_helper = ctRegex!(`\{~\^\s+(?P<content>.+?)\}(?P<link>(?:(?:https?|git):\/\/|¤?\.\.\/|¤?\.\/|¤|#)\S+)`, "mg"); #+END_SRC -*** images :images: +*** images :images: #+NAME: meta_rgx_12 #+BEGIN_SRC d @@ -280,7 +280,7 @@ static smid_a_image = ctRegex!(`(?P<pre>(?:^| static smid_image_delimit = ctRegex!(`(?P<pre>^|[ ]|[^\S]?)\{\s*(?P<text>.+?)\s*\}(?:image)(?=[;:!,?.]?([ )\]]|$))`, "mg"); #+END_SRC -*** inline markup book index :inline:bookindex: +*** inline markup book index :inline:bookindex: #+NAME: meta_rgx_13 #+BEGIN_SRC d @@ -306,7 +306,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_15 #+BEGIN_SRC d @@ -317,7 +317,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_16 #+BEGIN_SRC d @@ -328,7 +328,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_17 #+BEGIN_SRC d @@ -336,7 +336,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_18 #+BEGIN_SRC d @@ -344,7 +344,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_19 #+BEGIN_SRC d @@ -353,7 +353,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_20 #+BEGIN_SRC d @@ -374,7 +374,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_22 #+BEGIN_SRC d @@ -390,7 +390,7 @@ https://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" <<doc_header_including_copyright_and_license>> @@ -455,7 +455,7 @@ static spaces_line_start = ctRegex!(`^(?P<opening_s static nbsp_char = ctRegex!(`░`, "mg"); #+END_SRC -** filename (& path) (including insert file) :insert:file:path:filename: +** filename (& path) (including insert file) :insert:file:path:filename: #+NAME: prgmkup_rgx_1 #+BEGIN_SRC d @@ -487,7 +487,7 @@ static br_line = ctRegex!(`┘`, "mg"); static br_nl = ctRegex!(`┙`, "mg"); #+END_SRC -*** inline (internal program) markup footnotes endnotes :inline:footnote: +*** inline (internal program) markup footnotes endnotes :inline:footnote: #+NAME: prgmkup_rgx_3 #+BEGIN_SRC d @@ -535,7 +535,7 @@ static mark_internal_site_lnk = ctRegex!(`¤`, "mg"); static quotation_mark_sql_insert_delimiter = ctRegex!("[']", "mg"); #+END_SRC -*** inline markup font face mod :inline:font:face: +*** inline markup font face mod :inline:font:face: #+NAME: prgmkup_rgx_5 #+BEGIN_SRC d |