aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/default_regex.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2022-03-24 12:38:41 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2022-04-03 18:13:50 -0400
commite2424c06d3bfa552f35fb288429c3ef4e5357cc7 (patch)
treec1d8aefd2ce9acc7760a4eb9dbef1eea3afa3c66 /org/default_regex.org
parentlatex, pagebreaks, make headers, consider (diff)
latex output (try tidy); linebreaks more generally
Diffstat (limited to 'org/default_regex.org')
-rw-r--r--org/default_regex.org8
1 files changed, 6 insertions, 2 deletions
diff --git a/org/default_regex.org b/org/default_regex.org
index 86f6d2d..8d7a26f 100644
--- a/org/default_regex.org
+++ b/org/default_regex.org
@@ -506,6 +506,7 @@ static space = ctRegex!(`[ ]`, "mg");
static spaces_keep = ctRegex!(`(?P<keep_spaces>^[ ]+|[ ]{2,})`, "mg"); // code, verse, block
static spaces_line_start = ctRegex!(`^(?P<opening_spaces>[ ]+)`, "mg");
static nbsp_char = ctRegex!(`░`, "mg");
+static nbsp_chars = ctRegex!(`[░]+`, "mg");
#+END_SRC
** filename (& path) (including insert file) :insert:file:path:filename:
@@ -535,9 +536,12 @@ static src_formalised_file_path_parts = ctRegex!(`(?P<pth>(?:[/a
#+BEGIN_SRC d
/+ line breaks +/
static br_empty_line = ctRegex!(`\n[ ]*\n`, "mg");
-static br_newlines_linebreaks = ctRegex!(`[\n┘┙]`, "mg");
+static br_linebreaks_newlines = ctRegex!(`[\n┘┙]`, "mg");
+static br_linebreaks = ctRegex!(`[┘┙]`, "mg");
static br_line = ctRegex!(`┘`, "mg");
-static br_newline_inline = ctRegex!(`┙`, "mg");
+static br_line_inline = ctRegex!(`┙`, "mg");
+static br_line_spaced = ctRegex!(`┚`, "mg");
+static brln = ctRegex!(`(?:\\\\)+`, "mg");
#+END_SRC
*** inline (internal program) markup footnotes endnotes :inline:footnote: