From 73f8706880b753c9be8a27b0c28c59a3a45dfa86 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Fri, 9 Mar 2018 16:32:41 -0500 Subject: home button text, a redo --- org/default_regex.org | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'org/default_regex.org') diff --git a/org/default_regex.org b/org/default_regex.org index 59bd11e..9dbab82 100644 --- a/org/default_regex.org +++ b/org/default_regex.org @@ -252,7 +252,7 @@ static note_ref = ctRegex!(`^\S+?noteref_( static inline_url_generic = ctRegex!(`(?:^|[}(\[ ])(?:(?:https?|git):\/\/|¤?\.\.\/|¤?\.\/|¤|#)[a-zA-Z0-9_#]`, "mg"); static inline_url = ctRegex!(`((?:(?:https?|git):\/\/|¤?\.\.\/|¤?\.\/|¤|#)[a-zA-Z0-9_]\S*)`, "mg"); static inline_link_naked_url = ctRegex!(`(?P^|[ ])(?P(?:(?:https?|git):\/\/|¤?\.\.\/|¤?\.\/|¤|#)\S+?)(?P[.,;:?!'"]?(?:[ ]|$))`, "mg"); -static inline_link_markup_regular = ctRegex!(`(?P^|[ ])\{\s*(?P.+?)\s*\}(?P(?:(?:https?|git):\/\/|¤?\.\.\/|¤?\.\/|¤|#)\S+?)(?P[.,;:?!]?(?:[ ]|$))`, "mg"); +static inline_link_markup_regular = ctRegex!(`(?P^|[ ])\{\s*(?P.+?)\s*\}(?P(?:(?:https?|git):\/\/|¤?\.\.\/|¤?\.\/|¤|#)\S+?)(?P(?:[,;:? ]|[!.]?(?:[ ]|$)))`, "mg"); static inline_link_endnote_url_helper_punctuated = ctRegex!(`\{~\^\s+(?P.+?)\}(?P(?:(?:https?|git):\/\/|¤?\.\.\/|¤?\.\/|¤|#)\S+?)(?P[.,;:?!]?(?:[ ]|$))`, "mg"); static inline_link_endnote_url_helper = ctRegex!(`\{~\^\s+(?P.+?)\}(?P(?:(?:https?|git):\/\/|¤?\.\.\/|¤?\.\/|¤|#)\S+)`, "mg"); #+END_SRC @@ -436,6 +436,19 @@ static src_formalised_file_path_parts = ctRegex!(`(?P(?:[/a #+END_SRC ** inline markup + +*** inline breaks + +#+name: prgmkup_rgx +#+BEGIN_SRC d +/+ line breaks +/ +static br_line = ctRegex!(`┘`, "mg"); +static br_nl = ctRegex!(`┙`, "mg"); +static br_paragraph = ctRegex!(`┚`, "mg"); +static br_page_line = ctRegex!(`┼`, "mg"); +static br_page = ctRegex!(`┿`, "mg"); +static br_page_new = ctRegex!(`╂`, "mg"); +#+END_SRC *** inline (internal program) markup footnotes endnotes :inline:footnote: #+name: prgmkup_rgx -- cgit v1.2.3