From e9e17be24eba558c30fcdc41ea5bb9a1da7fd4e7 Mon Sep 17 00:00:00 2001 From: Ralph Amissah Date: Tue, 12 Mar 2024 22:39:09 -0400 Subject: mark modules as @safe: (& identify what is not) --- org/default_regex.org | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'org/default_regex.org') 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 { <> @@ -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 { <> @@ -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 { <> @@ -697,6 +700,7 @@ static src_formalised_file_path_parts = ctRegex!(`(?P(?:[/a-zA-Z0 regex: regular expressions used in sisu document parser +/ module doc_reform.meta.rgx_yaml; +@safe: static template spineRgxYamlTags() { static struct RgxYaml { <> @@ -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 { <> @@ -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 { <> -- cgit v1.2.3