diff options
Diffstat (limited to 'src/sdp/output_xhtmls.d')
-rw-r--r-- | src/sdp/output_xhtmls.d | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/src/sdp/output_xhtmls.d b/src/sdp/output_xhtmls.d index dcbc8f8..4ee5a79 100644 --- a/src/sdp/output_xhtmls.d +++ b/src/sdp/output_xhtmls.d @@ -153,7 +153,7 @@ template outputXHTMLs() { ) { if (obj.inline_links) { if ((seg_scroll == "scroll") - && match(_txt, rgx.mark_internal_site_lnk)) { + && _txt.match(rgx.mark_internal_site_lnk)) { _txt = (_txt).replaceAll( rgx.inline_seg_link, "$1"); @@ -170,7 +170,7 @@ template outputXHTMLs() { ); } debug(markup_links) { - if ( match(_txt, rgx.inline_link)) { + if (_txt.match(rgx.inline_link)) { writeln(__LINE__, " (missed) markup link identified (", obj.inline_links, @@ -180,7 +180,7 @@ template outputXHTMLs() { } } debug(markup) { - if ( match(_txt, rgx.inline_link)) { + if (_txt.match(rgx.inline_link)) { writeln(__LINE__, " (missed) markup link identified (", obj.inline_links, @@ -202,12 +202,12 @@ template outputXHTMLs() { ); } debug(markup_endnotes) { - if (match(_txt, rgx.inline_notes_delimiter_al_regular_number_note)) { + if (_txt.match(rgx.inline_notes_delimiter_al_regular_number_note)) { writeln(__LINE__, " (missed) markup endnote: ", obj.is_a, ": ", obj.text); } } debug(markup) { - if (match(_txt, rgx.inline_notes_delimiter_al_regular_number_note)) { + if (_txt.match(rgx.inline_notes_delimiter_al_regular_number_note)) { writeln(__LINE__, " (missed) markup endnote: ", obj.is_a, ": ", obj.text); } } @@ -227,7 +227,7 @@ template outputXHTMLs() { string[] _endnotes; if (obj.inline_notes_reg) { /+ need markup for text, and separated footnote +/ - foreach(m; matchAll(_txt, rgx.inline_notes_delimiter_al_regular_number_note)) { + foreach(m; _txt.matchAll(rgx.inline_notes_delimiter_al_regular_number_note)) { _endnotes ~= format( "%s%s%s%s\n %s%s%s%s%s\n %s\n%s", "<p class=\"endnote\">", @@ -247,7 +247,7 @@ template outputXHTMLs() { rgx.inline_notes_delimiter_al_regular_number_note, ("<a href=\"#note_$1\"><note id=\"noteref_$1\"> <sup>$1</sup> </note></a>") ); - } else if (match(_txt, rgx.inline_notes_delimiter_al_regular_number_note)) { + } else if (_txt.match(rgx.inline_notes_delimiter_al_regular_number_note)) { debug(markup) { writeln(__LINE__, " endnote: ", obj.is_a, ": ", obj.text); } |