aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sdp/output_xhtmls.d
diff options
context:
space:
mode:
authorRalph Amissah <ralph@amissah.com>2017-03-07 09:11:09 -0500
committerRalph Amissah <ralph@amissah.com>2019-04-10 15:14:14 -0400
commit5a4df097b2976c24c449c56cf035995edfb1261e (patch)
tree9112c6f32f1b9a8d7cdc7849754d6b8f602de0c5 /src/sdp/output_xhtmls.d
parentorg files minor touches (diff)
0.13.6 dlang function calls, syntax (ufcs related), logic should be retained
Diffstat (limited to 'src/sdp/output_xhtmls.d')
-rw-r--r--src/sdp/output_xhtmls.d14
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\">&nbsp;<sup>$1</sup>&nbsp;</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);
}