aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/doc_reform/output/rgx.d
diff options
context:
space:
mode:
Diffstat (limited to 'src/doc_reform/output/rgx.d')
-rw-r--r--src/doc_reform/output/rgx.d12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/doc_reform/output/rgx.d b/src/doc_reform/output/rgx.d
index c9e9516..5ab71f9 100644
--- a/src/doc_reform/output/rgx.d
+++ b/src/doc_reform/output/rgx.d
@@ -132,5 +132,17 @@ static template DocReformOutputRgxInit() {
static xhtml_less_than = ctRegex!(`[<]`, "m"); // &lt;
static xhtml_greater_than = ctRegex!(`[>]`, "m"); // &gt;
static xhtml_line_break = ctRegex!(` [\\]{2}`, "m"); // <br />
+ static latex_special_char_shortlist = ctRegex!(`([%$_#&\\])`);
+ static latex_special_char_curlybraces = ctRegex!(`([{}])`);
+ static latex_special_char = ctRegex!(`([%${}_#&\\])`);
+ static latex_special_char_for_escape = ctRegex!(`([%${}_#\\])`);
+ static latex_special_char_for_escape_and_braces = ctRegex!(`([&])`);
+ static latex_special_char_for_escape_url = ctRegex!(`([%])`);
+ static latex_special_char_escaped = ctRegex!(`\\([%${}_#\\])`);
+ static latex_special_char_escaped_braced = ctRegex!(`[{]\\([&])[}]`);
+ static latex_identify_inline_link = ctRegex!(`┥.+?┝┤\S+?├`, "mg");
+ static latex_clean_internal_link = ctRegex!(`^(?:#|¤\S+?#)`, "m");
+ static latex_identify_inline_fontface = ctRegex!(`\\([_#$]┨.+?┣)\\([_#$])`, "mg");
+ static latex_clean_bookindex_linebreak = ctRegex!(`\s*\\\\\\\\\s*`, "m");
}
}