diff options
author | Ralph Amissah <ralph@amissah.com> | 2018-04-30 21:05:13 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:15 -0400 |
commit | a263d67a5dfb5fad70059f63c1029f9174bf7ff0 (patch) | |
tree | 01a42457dec1121bd8ed2c18f5ca01401e476292 /org/meta_conf_make_meta.org | |
parent | epub3, enable tables (diff) |
link url matching
- smid: sisu markup identify
- inline_link_markup_regular matches series of
marked up urls, e.g.
{ link txt }http://url, { link txt }http://url
Diffstat (limited to 'org/meta_conf_make_meta.org')
-rw-r--r-- | org/meta_conf_make_meta.org | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/org/meta_conf_make_meta.org b/org/meta_conf_make_meta.org index 9438d25..7c27496 100644 --- a/org/meta_conf_make_meta.org +++ b/org/meta_conf_make_meta.org @@ -79,17 +79,17 @@ auto _mkup = InlineMarkup(); auto url_markup(string line) { auto line_ = (line) .replaceAll( - _rgx.inline_link_markup_regular, + _rgx.smid_inline_link_markup_regular, ("$1" ~ _mkup.lnk_o ~ "$2" ~ _mkup.lnk_c - ~ _mkup.url_o ~ "$3" ~ _mkup.url_c + ~ _mkup.url_o ~ "$3" ~ _mkup.url_c ~ "$4") // ("$1{ $2 }$3$4") ) .replaceAll( - _rgx.inline_link_naked_url, + _rgx.smid_inline_link_naked_url, ("$1" ~ _mkup.lnk_o ~ "$2" ~ _mkup.lnk_c - ~ _mkup.url_o ~ "$2" ~ _mkup.url_c + ~ _mkup.url_o ~ "$2" ~ _mkup.url_c ~ "$3") // ("$1{ $2 }$2$3") ) .replaceAll( |