X-Git-Url: https://sipb.mit.edu/gitweb.cgi/ikiwiki.git/blobdiff_plain/e0b85a7c92e15ffed61670166e10f18bacbd43db..e12627e0a4c73d4d47ac2f10750defe22b41580e:/doc/todo/simple_text_parsing_or_regex_in_template_or_shortcut.mdwn diff --git a/doc/todo/simple_text_parsing_or_regex_in_template_or_shortcut.mdwn b/doc/todo/simple_text_parsing_or_regex_in_template_or_shortcut.mdwn index 7b3dbbd55..3ff8b9ef6 100644 --- a/doc/todo/simple_text_parsing_or_regex_in_template_or_shortcut.mdwn +++ b/doc/todo/simple_text_parsing_or_regex_in_template_or_shortcut.mdwn @@ -2,8 +2,8 @@ Either [[plugins/template]] or [[plugins/shortcut]] should support some form of very simple text parsing or regex application, to make it possible to write shortcuts like these: - [[mmlist listname@lists.example.org]] -> ([mailman page] (http://lists.example.org/mailman/listinfo/listname) - [[debcl packagename]] -> [packagename changelog](http://packages.debian.org/changelogs/pool/main/p/packagename/current/changelog) + [[!mmlist listname@lists.example.org]] -> ([mailman page] (http://lists.example.org/mailman/listinfo/listname) + [[!debcl packagename]] -> [packagename changelog](http://packages.debian.org/changelogs/pool/main/p/packagename/current/changelog) For shortcut definitions, a `match` parameter could supply a regex, and then the `url` and `desc` parameters could make use of the named or numbered groups from the match.