diff options
author | Ralph Amissah <ralph.amissah@gmail.com> | 2022-01-25 14:36:59 -0500 |
---|---|---|
committer | Ralph Amissah <ralph.amissah@gmail.com> | 2022-01-25 20:58:41 -0500 |
commit | 3c2da303eed87e506533c738c1bcfda154944790 (patch) | |
tree | 0e5125110e58ef64ce13a980b281328f325740c6 /org/default_regex.org | |
parent | metadata, 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.org | 3 |
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"); |