Nathan's Mission Blog

Login

Search Macro Help

The Search macro shows a list of places where a specified regular expression is found on pages in the wiki.

For example, to show a list of places in the wiki where the regular expression "foo.*bar" appears, use the following:

{{Search(foo.*bar)}}

Each matching location is shown with a few lines of context, and with a link to the page and section where that match appears.

The regular expression is a python regular expression (used with the python "re" module. So you can use additional regex syntax to control the matching. For example, to ignore case, add the suffix '(?i)' to the regular expression string.

Note that page names, as well as page contents, are searched for matches.

TBWiki engine 1.9.2 by Tim Bird