diff options
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 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<ancho #+END_SRC ** blocked markup -*** blocked markup curly & tic :block: +*** blocked markup curly & tic :block: #+NAME: meta_rgx #+BEGIN_SRC d @@ -148,7 +148,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 #+BEGIN_SRC d @@ -162,7 +162,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 #+BEGIN_SRC d @@ -182,7 +182,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 @@ -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<ref>[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<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 #+BEGIN_SRC d @@ -248,7 +248,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 #+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<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 #+BEGIN_SRC d @@ -445,7 +445,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 #+BEGIN_SRC d @@ -493,7 +493,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 #+BEGIN_SRC d |