diff options
author | Ralph Amissah <ralph@amissah.com> | 2018-05-04 21:22:39 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:15 -0400 |
commit | 48ba380760b306077afa7a156a21d3ff98d26775 (patch) | |
tree | 3385a7efddac04cb52fb08a93b245c89e958e83d /src/sdp/output/rgx.d | |
parent | link url matching (diff) |
html & epub images in place (dimensions not & other issues)
Diffstat (limited to 'src/sdp/output/rgx.d')
-rw-r--r-- | src/sdp/output/rgx.d | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/sdp/output/rgx.d b/src/sdp/output/rgx.d index 0227902..60f15cf 100644 --- a/src/sdp/output/rgx.d +++ b/src/sdp/output/rgx.d @@ -61,6 +61,7 @@ static template SiSUoutputRgxInit() { static inline_text_and_note_al = ctRegex!(`(?P<text>.+?)【(?:[*+ ]*)(?P<note>.+?)】`, "mg"); static inline_text_and_note_al_ = ctRegex!(`(.+?(?:【[*+]*\s+.+?】|$))`, "mg"); /+ inline markup footnotes endnotes +/ + static inline_image = ctRegex!(`(?P<pre>┥)☼(?P<imginf>(?P<img>\S+?\.(?:jpg|gif|png)),w(?P<width>\d+)h(?P<height>\d+))\s*(?P<post>.*?┝┤.+?├)`, "mg"); static inline_link = ctRegex!(`┥(?P<text>.+?)┝┤(?P<link>.+?)├`, "mg"); static inline_link_clean = ctRegex!(`┤(?:.+?)├|[┥┝]`, "mg"); static inline_a_url = ctRegex!(`(┤)(\S+?)(├)`, "mg"); |