Template:Stringlist:RegexReplaceCorresponding syntax: Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (Automatically generated page update)
 
Line 3: Line 3:
<p class="syntax"><span class="term">%outString</span><span class="literal"> =</span> <span class="term">sl</span><span class="literal">:RegexReplaceCorresponding</span><span class="literal">(</span> <span class="term" title="String">inString</span><span class="comma">,</span> <span class="term" title="Stringlist">replacementList</span><span class="comma">,</span>          -
<p class="syntax"><span class="term">%outString</span><span class="literal"> =</span> <span class="term">sl</span><span class="literal">:RegexReplaceCorresponding</span><span class="literal">(</span> <span class="term" title="String">inString</span><span class="comma">,</span> <span class="term" title="Stringlist">replacementList</span><span class="comma">,</span>          -
                                           <span class="squareb">[</span><span class="literal" title="String">Options=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>                  -
                                           <span class="squareb">[</span><span class="literal" title="String">Options=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span>                  -
                                           <span class="squareb">[</span><span class="literal" title="%output">Status=</span> <span class="term" title="%output">%output</span><span class="squareb">]</span><span class="literal">)</span></p>
                                           <span class="squareb">[</span><span class="literal" title="%output">Status=</span> <span class="term" title="%output">%output</span><span class="squareb">]</span><span class="literal">)</span>
 
Throws [[InvalidRegex class|InvalidRegex]]</p>

Latest revision as of 15:22, 2 February 2013

%outString = sl:RegexReplaceCorresponding( inString, replacementList, - [Options= string], - [Status= %output]) Throws InvalidRegex