aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/default_regex.org
diff options
context:
space:
mode:
Diffstat (limited to 'org/default_regex.org')
-rw-r--r--org/default_regex.org15
1 files changed, 14 insertions, 1 deletions
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<before>^|[ ])(?P<link>(?:(?:https?|git):\/\/|¤?\.\.\/|¤?\.\/|¤|#)\S+?)(?P<after>[.,;:?!'"]?(?:[ ]|$))`, "mg");
-static inline_link_markup_regular = ctRegex!(`(?P<before>^|[ ])\{\s*(?P<content>.+?)\s*\}(?P<link>(?:(?:https?|git):\/\/|¤?\.\.\/|¤?\.\/|¤|#)\S+?)(?P<after>[.,;:?!]?(?:[ ]|$))`, "mg");
+static inline_link_markup_regular = ctRegex!(`(?P<before>^|[ ])\{\s*(?P<content>.+?)\s*\}(?P<link>(?:(?:https?|git):\/\/|¤?\.\.\/|¤?\.\/|¤|#)\S+?)(?P<after>(?:[,;:? ]|[!.]?(?:[ ]|$)))`, "mg");
static inline_link_endnote_url_helper_punctuated = ctRegex!(`\{~\^\s+(?P<content>.+?)\}(?P<link>(?:(?:https?|git):\/\/|¤?\.\.\/|¤?\.\/|¤|#)\S+?)(?P<after>[.,;:?!]?(?:[ ]|$))`, "mg");
static inline_link_endnote_url_helper = ctRegex!(`\{~\^\s+(?P<content>.+?)\}(?P<link>(?:(?:https?|git):\/\/|¤?\.\.\/|¤?\.\/|¤|#)\S+)`, "mg");
#+END_SRC
@@ -436,6 +436,19 @@ static src_formalised_file_path_parts = ctRegex!(`(?P<pth>(?:[/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