aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/sisudoc/ocda/meta/rgx.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/sisudoc/ocda/meta/rgx.d')
-rw-r--r--src/sisudoc/ocda/meta/rgx.d5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/sisudoc/ocda/meta/rgx.d b/src/sisudoc/ocda/meta/rgx.d
index f418582..249fd3d 100644
--- a/src/sisudoc/ocda/meta/rgx.d
+++ b/src/sisudoc/ocda/meta/rgx.d
@@ -230,6 +230,11 @@ static template spineRgxIn() {
carry their own copy of this in rgx_xhtml may be needed by other writers
+/
static line_break = ctRegex!(` [\\]{2}`, "m");
+ /+ ↓ the trailing backslash a book index entry ends its line with. The text
+ and odt writers build this one inline, as regex("\\s*\\\\"), each time they
+ need it
+ +/
+ static trailing_backslash = ctRegex!(`\s*\\`, "mg");
/+ inline markup footnotes endnotes +/
static inline_notes_al = ctRegex!(`【(?:[*+]\s+|\s*)(.+?)】`, "mg");
static inline_notes_al_special = ctRegex!(`【(?:[*+]\s+)(.+?)】`, "mg"); // TODO remove match when special footnotes are implemented