%<plugin>_<setting>%, i.e. %GLOBALREPLACEPLUGIN_SHORTDESCRIPTION%
data/debug.txt) } with \}. This applies to the "Replace search string" field only. \%EDITCELL\{checkbox, 3, Input data exchange, ... \}\%
(\n) in the "Replace search string", at the end of the line. This will be stored for use in the "Replace string". You can reference it with $n, where n is a number 0 to 9. Shutdown}% |. Shutdown\}\% \|(\n) and "Replace string": Shutdown}% |$1Something$foo-bar$1
| *Keywords:* |. \| \*Keywords\:\* \|(.*?)(\n) and "Replace string": Something $2| *Keywords: |$1$2
| *Keywords:* | and ends with or contains the string Interrupt}%. \| \*Keywords\:\* \|(.*?)Interrupt\}\%(.*?)(\n) and "Replace string": Something $3| *Keywords: |$1Interrupt}%$2$3
GlobalReplacePlugin.zip in your twiki installation directory. Content: | File: | Description: |
|---|---|
data/TWiki/GlobalReplacePlugin.txt | Plugin topic |
data/TWiki/GlobalSearchAndReplace.txt | Search replace form topic |
data/TWiki/GlobalSearchAndReplaceHelp.txt | Help topic |
data/TWiki/GlobalSearchAndReplaceTopics.txt | Replace result topic |
lib/TWiki/Plugins/GlobalReplacePlugin.pm | Plugin Perl module |
pub/TWiki/Plugins/GlobalSearchAndReplaceHelp/gsr.png | Screenshot |
configure in your TWiki installation, and enable the plugin in the {Plugins} section.
lib/TWiki/Plugins/%TOPIC.pm file, or edit the file and return 0 in sub initPlugin.
| Plugin Author: | TWiki:Main.PaulineCheung |
| Copyright: | © 2004-2006 Wind River © 2007-2011 Peter Thoeny, Twiki, Inc. © 2007-2011 TWiki:Main.TWikiContributors |
| License: | GPL (GNU General Public License |
| Plugin Version: | 2011-08-02 |
| Change History: | |
| 2011-08-02: | TWikibug:Item6725 |
| 2011-01-22: | TWikibug:Item6638 |
| 05 Oct 2008: | TWiki:Main/PeterThoeny |
| 31 Oct 2005: | TWiki:Main.MikkoLaakso |
| 03 Nov 2004: | TWiki:Main/PeterThoeny |
| 16 Mar 2004: | Fixed bug where topics with underlines did not get handled properly |
| 07 Feb 2004: | Initial version |
| TWiki Dependency: | $TWiki::Plugins::VERSION 1.0 |
| CPAN Dependencies: | none |
| Other Dependencies: | TWiki:Plugins/SpreadSheetPlugin |
| Perl Version: | 5.005 |
| TWiki:Plugins/Benchmark |
GoodStyle 99%, FormattedSearch 99%, GlobalReplacePlugin 99% |
| Plugin Home: | http://TWiki.org/cgi-bin/view/Plugins/GlobalReplacePlugin |
| Feedback: | http://TWiki.org/cgi-bin/view/Plugins/GlobalReplacePluginDev |
| Appraisal: | http://TWiki.org/cgi-bin/view/Plugins/GlobalReplacePluginAppraisal |