aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/default_regex.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2024-03-12 22:39:09 -0400
committerRalph Amissah <ralph.amissah@gmail.com>2024-03-12 22:56:34 -0400
commite9e17be24eba558c30fcdc41ea5bb9a1da7fd4e7 (patch)
tree1ed3c4b528b0a8e54d0eb9babc391e562578c7b4 /org/default_regex.org
parentnix flake & env upkeep (diff)
mark modules as @safe: (& identify what is not)
Diffstat (limited to 'org/default_regex.org')
-rw-r--r--org/default_regex.org6
1 files changed, 6 insertions, 0 deletions
diff --git a/org/default_regex.org b/org/default_regex.org
index 72be106..bce6fa6 100644
--- a/org/default_regex.org
+++ b/org/default_regex.org
@@ -42,6 +42,7 @@ https://dlang.org/phobos/std_regex.html
regex: regular expressions used in sisu document parser
+/
module doc_reform.meta.rgx;
+@safe:
static template spineRgxIn() {
static struct RgxI {
<<meta_rgx_misc>>
@@ -460,6 +461,7 @@ https://dlang.org/phobos/std_regex.html
regex: regular expressions used in sisu document parser
+/
module doc_reform.io_out.rgx;
+@safe:
static template spineRgxOut() {
static struct RgxO {
<<makes>>
@@ -664,6 +666,7 @@ static table_delimiter_row = ctRegex!("[ ]*\n", "mg");
regex: regular expressions used in sisu document parser
+/
module doc_reform.meta.rgx_files;
+@safe:
static template spineRgxFiles() {
static struct RgxFiles {
<<prgmkup_rgx_filename_and_path>>
@@ -697,6 +700,7 @@ static src_formalised_file_path_parts = ctRegex!(`(?P<pth>(?:[/a-zA-Z0
regex: regular expressions used in sisu document parser
+/
module doc_reform.meta.rgx_yaml;
+@safe:
static template spineRgxYamlTags() {
static struct RgxYaml {
<<meta_rgx_yaml>>
@@ -723,6 +727,7 @@ static yaml_tag_is_seq = ctRegex!(`:seq$`);
regex: regular expressions used in sisu document parser
+/
module doc_reform.io_out.rgx_xhtml;
+@safe:
static template spineRgxXHTML() {
static struct RgxXHTML {
<<sp_ch_xhtml_rgx>>
@@ -751,6 +756,7 @@ static line_break = ctRegex!(` [\\]{2}`, "m"); //
regex: regular expressions used in sisu document parser
+/
module doc_reform.io_out.rgx_latex;
+@safe:
static template spineRgxLSC() {
static struct RgxLSC {
<<sp_ch_latex_rgx>>