diff options
Diffstat (limited to 'org/default_regex.org')
-rw-r--r-- | org/default_regex.org | 31 |
1 files changed, 15 insertions, 16 deletions
diff --git a/org/default_regex.org b/org/default_regex.org index 939aa8a..933a1b1 100644 --- a/org/default_regex.org +++ b/org/default_regex.org @@ -1,8 +1,8 @@ -#+TITLE: sdp regex defaults +#+TITLE: doc_reform regex defaults +#+DESCRIPTION: documents - structuring, publishing in multiple formats & search +#+FILETAGS: :doc_reform:regex: #+AUTHOR: Ralph Amissah #+EMAIL: [[mailto:ralph.amissah@gmail.com][ralph.amissah@gmail.com]] -#+DESCRIPTION: documents - structuring, publishing in multiple formats & search -#+KEYWORDS #+LANGUAGE: en #+STARTUP: indent content #+OPTIONS: H:3 num:nil toc:t \n:nil @:t ::t |:t ^:nil _:nil -:t f:t *:t <:t @@ -11,12 +11,11 @@ #+PROPERTY: header-args :padline no :exports code :noweb yes #+EXPORT_SELECT_TAGS: export #+EXPORT_EXCLUDE_TAGS: noexport -#+FILETAGS: :sdp:rel:meta: -#+TAGS: assert(a) class(c) debug(d) mixin(m) sdp(s) tangle(T) template(t) WEB(W) noexport(n) +#+TAGS: assert(a) class(c) debug(d) mixin(m) doc_reform(s) tangle(T) template(t) WEB(W) noexport(n) -[[./sdp.org][sdp]] [[./][org/]] -* 0. meta ctRegex :module:sdp:meta_rgx: -[[./sdp.org][sdp]] [[./][org/]] +[[./doc_reform.org][doc_reform]] [[./][org/]] +* 0. meta ctRegex :module: +[[./doc_reform.org][doc_reform]] [[./][org/]] http://dlang.org/phobos/std_regex.html - Plain string, in which case it's compiled to bytecode before matching. - Regex!char (wchar/dchar) that contains a pattern in the form of compiled bytecode. @@ -31,13 +30,13 @@ http://dlang.org/phobos/std_regex.html ** 0. module template #+name: tangle_meta_rgx -#+BEGIN_SRC d :tangle ../src/sdp/meta/rgx.d +#+BEGIN_SRC d :tangle ../src/doc_reform/meta/rgx.d /++ regex: regular expressions used in sisu document parser +/ -module sdp.meta.rgx; +module doc_reform.meta.rgx; static template SiSUrgxInit() { - import sdp.meta.defaults; + import doc_reform.meta.defaults; static struct Rgx { <<meta_rgx>> <<prgmkup_rgx>> @@ -369,8 +368,8 @@ auto language_code_and_filename = ctRegex!("(?:^|[/])(am|bg|bn|br|ca|cs|cy|da|de|el|en|eo|es|et|eu|fi|fr|ga|gl|he|hi|hr|hy|ia|is|it|ja|ko|la|lo|lt|lv|ml|mr|nl|no|nn|oc|pl|pt|pt_BR|ro|ru|sa|se|sk|sl|sq|sr|sv|ta|te|th|tk|tr|uk|ur|vi|zh)/[A-Za-z0-9._-].+?[.](?:sst|ssm)$"); #+END_SRC -* 1. output ctRegex :module:sdp:output_rgx: -[[./sdp.org][sdp]] [[./][org/]] +* 1. output ctRegex :module:doc_reform:output_rgx: +[[./doc_reform.org][doc_reform]] [[./][org/]] http://dlang.org/phobos/std_regex.html - Plain string, in which case it's compiled to bytecode before matching. - Regex!char (wchar/dchar) that contains a pattern in the form of compiled bytecode. @@ -379,13 +378,13 @@ http://dlang.org/phobos/std_regex.html ** 0. module template #+name: tangle_meta_rgx -#+BEGIN_SRC d :tangle ../src/sdp/output/rgx.d +#+BEGIN_SRC d :tangle ../src/doc_reform/output/rgx.d /++ regex: regular expressions used in sisu document parser +/ -module sdp.output.rgx; +module doc_reform.output.rgx; static template SiSUoutputRgxInit() { - import sdp.output.defaults; + import doc_reform.output.defaults; static struct Rgx { <<prgmkup_rgx>> <<sp_ch_xhtml_rgx>> |