diff options
Diffstat (limited to 'org/defaults.org')
-rw-r--r-- | org/defaults.org | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/org/defaults.org b/org/defaults.org index 25b1a4b..b666c30 100644 --- a/org/defaults.org +++ b/org/defaults.org @@ -1185,8 +1185,11 @@ template SiSUlanguageCodes() { #+BEGIN_SRC d static newline = ctRegex!("\n", "mg"); static space = ctRegex!(`[ ]`, "mg"); +static spaces_line_start = ctRegex!(`^(?P<opening_spaces>[ ]+)`, "mg"); +static spaces_multiple = ctRegex!(`(?P<multiple_spaces>[ ]{2,})`, "mg"); // could be issues for endnotes static two_spaces = ctRegex!(`[ ]{2}`, "mg"); static nbsp_char = ctRegex!(`░`, "mg"); +static nbsp_chars_line_start = ctRegex!(`^░+`, "mg"); static nbsp_and_space = ctRegex!(` [ ]`, "mg"); static nbsp_char_and_space = ctRegex!(`░[ ]`, "mg"); #+END_SRC |