<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.statsape.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E6%9D%BF%3AMultiReplace%2Fdoc</id>
	<title>模板:MultiReplace/doc - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.statsape.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E6%9D%BF%3AMultiReplace%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:MultiReplace/doc&amp;action=history"/>
	<updated>2026-05-15T01:14:23Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:MultiReplace/doc&amp;diff=7835&amp;oldid=prev</id>
		<title>Zeroclanzhang：​创建页面，内容为“{{Documentation subpage}} {{high use}} {{lua|Module:{{#ifeq:{{NAMESPACE}}|Module|Error|MultiReplace}}}} {{For-text|a function to search for multiple patterns|{{ml|String2|matchAny|section=#matchAny}}}} Replaces matches of multiple patterns in a given string with given replacements. For each replacement instance, the pattern matching &#039;&#039;&#039;at the lowest position&#039;&#039;&#039; is chosen. If there are multiple such patterns, then the one specified earliest in the pattern list i…”</title>
		<link rel="alternate" type="text/html" href="https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:MultiReplace/doc&amp;diff=7835&amp;oldid=prev"/>
		<updated>2024-01-21T12:57:30Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“{{Documentation subpage}} {{high use}} {{lua|Module:{{#ifeq:{{NAMESPACE}}|Module|Error|MultiReplace}}}} {{For-text|a function to search for multiple patterns|{{ml|String2|matchAny|section=#matchAny}}}} Replaces matches of multiple patterns in a given string with given replacements. For each replacement instance, the pattern matching &amp;#039;&amp;#039;&amp;#039;at the lowest position&amp;#039;&amp;#039;&amp;#039; is chosen. If there are multiple such patterns, then the one specified earliest in the pattern list i…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{high use}}&lt;br /&gt;
{{lua|Module:{{#ifeq:{{NAMESPACE}}|Module|Error|MultiReplace}}}}&lt;br /&gt;
{{For-text|a function to search for multiple patterns|{{ml|String2|matchAny|section=#matchAny}}}}&lt;br /&gt;
Replaces matches of multiple patterns in a given string with given replacements. For each replacement instance, the pattern matching &amp;#039;&amp;#039;&amp;#039;at the lowest position&amp;#039;&amp;#039;&amp;#039; is chosen. If there are multiple such patterns, then the one specified earliest in the pattern list is chosen.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
 {{((}}{{#ifeq:{{NAMESPACE}}|Module|&amp;amp;#35;invoke:MultiReplace{{!}}main|MultiReplace}}{{!}}&amp;#039;&amp;#039;input&amp;#039;&amp;#039;|plain=yes&amp;lt;small style=&amp;quot;font-family:sans&amp;quot;&amp;gt; (optional)&amp;lt;/small&amp;gt;|&amp;#039;&amp;#039;pattern1&amp;#039;&amp;#039;| &amp;#039;&amp;#039;replacement1&amp;#039;&amp;#039;|&amp;#039;&amp;#039;pattern2&amp;#039;&amp;#039;|&amp;#039;&amp;#039;replacement2&amp;#039;&amp;#039;... {{))}}&lt;br /&gt;
&lt;br /&gt;
If &amp;lt;code&amp;gt;plain=yes&amp;lt;/code&amp;gt; is specified, then the patterns and replacements are treated as plain text, otherwise as [[mw:Extension:Scribunto/Lua reference manual#mw.ustring.gsub|Lua Unicode patterns]].&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{sandbox other||&lt;br /&gt;
[[Category:String manipulation templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Zeroclanzhang</name></author>
	</entry>
</feed>