from to the last occurrence of to, which are Perl regular expressions. In that section, applies something like s/// (the Perl search-and-replace operator) to the topic text. searchfor and replaceby are required; from defaults to "^", to defaults to "$".
searcgfir matches are extraced, replacements done, and the results inserted in place of the GREPREWRITE call.
%<plugin>_<setting>%, i.e. %INTERWIKIPLUGIN_SHORTDESCRIPTION%
data/debug.txt) PatternMatcherPlugin.zip in your twiki installation directory. Content: | File: | Description: |
|---|---|
lib/TWiki/Plugins/PatternMatcherPlugin.pm | Plugin Perl module |
data/TWiki/PatternMatcherPlugin.txt | Plugin topic |
data/TWiki/PatternMatcherPlugin.txt,v | Plugin topic repository |
| Plugin Author: | TWiki:Main/LutzPrechelt |
| Plugin Version: | 29 Jun 2004 (V1.000) |
| Change History: | |
| 29 Jun 2004: | Initial version |
| CPAN Dependencies: | none |
| Other Dependencies: | none |
| Perl Version: | 5.005 |
| TWiki:Plugins/Benchmark: | GoodStyle nn%, FormattedSearch nn%, PatternMatcherPlugin nn% |
| Plugin Home: | http://TWiki.org/cgi-bin/view/Plugins/PatternMatcherPlugin |
| Feedback: | http://TWiki.org/cgi-bin/view/Plugins/PatternMatcherPluginDev |