diff options
author | Patrick Totzke <patricktotzke@gmail.com> | 2012-02-24 10:25:20 +0000 |
---|---|---|
committer | Patrick Totzke <patricktotzke@gmail.com> | 2012-02-24 10:25:20 +0000 |
commit | 108df3df8571aea2164a5d3fc42655ac2bd06c17 (patch) | |
tree | 4c2c62ad9d82ac120e55f015717549bd4a69d148 /README.md | |
parent | 228cd62f7c32fba07f8b9bc9204dd1cd0dfd09f6 (diff) |
tagstring translation via re.sub
this introduces a feature that lets you use regexps to match
tagstrings in your [tags] subsections.
Moreover, it introduces a config option "translation" for these sections that
will take a pair of strings as value and, if no "translation" is given,
will be used to substitute the matching tagstring to a translated string:
tag: "notmuch::foo",
section: "[[notmuch::.*]]"
translation: "notmuch::(.*)", "nm:\1"
will result in a translated tagstring "nm:foo"
Diffstat (limited to 'README.md')
0 files changed, 0 insertions, 0 deletions