aboutsummaryrefslogtreecommitdiffhomepage
path: root/org/default_regex.org
diff options
context:
space:
mode:
authorRalph Amissah <ralph.amissah@gmail.com>2022-01-25 14:36:59 -0500
committerRalph Amissah <ralph.amissah@gmail.com>2022-01-25 20:58:41 -0500
commit3c2da303eed87e506533c738c1bcfda154944790 (patch)
tree0e5125110e58ef64ce13a980b281328f325740c6 /org/default_regex.org
parentmetadata, topic register to json removed, unused (diff)
doc presentation, add option to include date with title and author
Diffstat (limited to 'org/default_regex.org')
-rw-r--r--org/default_regex.org3
1 files changed, 3 insertions, 0 deletions
diff --git a/org/default_regex.org b/org/default_regex.org
index 9ea040e..6734b62 100644
--- a/org/default_regex.org
+++ b/org/default_regex.org
@@ -138,8 +138,11 @@ static comment = ctRegex!(`^%+ `);
#+NAME: meta_rgx_headers
#+BEGIN_SRC d
/+ header +/
+static variable_doc_title_author_date = ctRegex!(`@title-author-date`);
+static variable_doc_title_author = ctRegex!(`@title-author`);
static variable_doc_title = ctRegex!(`@title`);
static variable_doc_author = ctRegex!(`@author|@creator`);
+static variable_doc_date = ctRegex!(`@date`);
static raw_author_munge = ctRegex!(`(?P<last>\S.+?),\s+(?P<first>.+)`,"i");
static yaml_header_meta_title = ctRegex!(`^\s*title\s*:\s*(?:"?\w|$)`, "m");
static yaml_config = ctRegex!(`^[a-z]+\s*:\s*(?:"?\w|$)`, "m");