aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/io_out/rgx.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2020-04-11 19:58:30 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2020-05-20 11:27:25 -0400
commit9f7281b32593326ed995cb3b155b6643cdb43e66 (patch)
tree985b20d4d5a9c60db8c526c07a5384cb4a577b5c /src/doc_reform/io_out/rgx.d
parentopt_actions, re-arrangment, minor (diff)
metaverse, set behavior of block & group text
- group: loses spaces, retains double newlines - block: retains spaces and newlines
Diffstat (limited to 'src/doc_reform/io_out/rgx.d')
-rw-r--r--src/doc_reform/io_out/rgx.d2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/doc_reform/io_out/rgx.d b/src/doc_reform/io_out/rgx.d
index e98f118..6879b67 100644
--- a/src/doc_reform/io_out/rgx.d
+++ b/src/doc_reform/io_out/rgx.d
@@ -40,7 +40,7 @@ static template spineRgxOut() {
static inline_al_delimiter_open_regular = ctRegex!(`【\s`, "m");
static inline_al_delimiter_open_symbol_star = ctRegex!(`【[*]\s`, "m");
static inline_al_delimiter_open_symbol_plus = ctRegex!(`【[+]\s`, "m");
- static inline_text_and_note_al_ = ctRegex!(`(.+?(?:【[*+]*\s+.+?】|$))`, "mg");
+ static inline_text_and_note_al_ = ctRegex!(`(.+?(?:【[*+]*\s+.+?】|.+))`, "mg");
/+ inline markup links +/
static inline_image = ctRegex!(`(?P<pre>┥)☼(?P<imginf>(?P<img>[a-zA-Z0-9._-]+?\.(?:jpg|gif|png)),w(?P<width>\d+)h(?P<height>\d+))\s*(?P<post>.*?┝┤.*?├)`, "mg");
static inline_image_without_dimensions = ctRegex!(`(?P<pre>┥)☼(?P<imginf>(?P<img>[a-zA-Z0-9._-]+?\.(?:jpg|gif|png)),w(?P<width>0)h(?P<height>0))\s*(?P<post>.*?┝┤.*?├)`, "mg");