From 6366f823e969f7547af6ae1063ced4b7c4fcd5a5 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 29 Jan 2019 16:56:31 -0500 Subject: white space rgx to keep in block - code, block, verse --- org/default_regex.org | 1 + 1 file changed, 1 insertion(+) (limited to 'org/default_regex.org') diff --git a/org/default_regex.org b/org/default_regex.org index e02c3a3..80e3cde 100644 --- a/org/default_regex.org +++ b/org/default_regex.org @@ -422,6 +422,7 @@ static xhtml_line_break = ctRegex!(` [\\]{2}`); //
\n|
\n*$"); static space = ctRegex!(`[ ]`, "mg"); +static spaces_keep = ctRegex!(`(?P^[ ]+|[ ]{2,})`, "mg"); // code, verse, block static spaces_line_start = ctRegex!(`^(?P[ ]+)`, "mg"); static spaces_multiple = ctRegex!(`(?P[ ]{2,})`, "mg"); static two_spaces = ctRegex!(`[ ]{2}`, "mg"); -- cgit v1.2.3