diff options
author | Ralph Amissah <ralph@amissah.com> | 2017-07-27 04:38:26 -0400 |
---|---|---|
committer | Ralph Amissah <ralph@amissah.com> | 2019-04-10 15:14:14 -0400 |
commit | d56624bce222d870298d937e634fe01aef5c39e4 (patch) | |
tree | fda4da44a0fdddda9e99202ad69ebce9193c55ba /src/sdp/output/rgx.d | |
parent | meta_abstraction, mark some functions pure (diff) |
static, liberal use of keyword
Diffstat (limited to 'src/sdp/output/rgx.d')
-rw-r--r-- | src/sdp/output/rgx.d | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sdp/output/rgx.d b/src/sdp/output/rgx.d index 728e3f9..343561b 100644 --- a/src/sdp/output/rgx.d +++ b/src/sdp/output/rgx.d @@ -2,9 +2,9 @@ regex: regular expressions used in sisu document parser +/ module sdp.output.rgx; -template SiSUoutputRgxInit() { +static template SiSUoutputRgxInit() { import sdp.output.defaults; - struct Rgx { + static struct Rgx { static newline = ctRegex!("\n", "mg"); static strip_br = ctRegex!("^<br>\n|<br>\n*$"); static space = ctRegex!(`[ ]`, "mg"); |