Template:Stringlist:RegexLocate syntax: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
||
Line 1: | Line 1: | ||
<!-- This page was automatically generated and will be automatically | <!-- This page was automatically generated and will be automatically | ||
replaced, so any manual edits will be lost. You've been warned. --> | replaced, so any manual edits will be lost. You've been warned. --> | ||
<p class="syntax"><span class="squareb">[</span><span class="term">%itemNum</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[RegexLocate (Stringlist function)|RegexLocate]]</span><span class="literal">(</span> <span class="term">regex</span><span class="comma">,</span> <span class="squareb">[</span><span class="term">startItem</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal">Options=</span> <span class="term">string</span><span class="squareb">]</span><span class="comma">,</span> - | <p class="syntax"><span class="squareb">[</span><span class="term">%itemNum</span><span class="literal">=</span><span class="squareb">]</span> <span class="term">sl</span><span class="literal">:[[RegexLocate (Stringlist function)|RegexLocate]]</span><span class="literal">(</span> <span class="term" title="String">regex</span><span class="comma">,</span> <span class="squareb">[</span><span class="term" title="Number">startItem</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal">Options=</span> <span class="term" title="String">string</span><span class="squareb">]</span><span class="comma">,</span> - | ||
<span class="squareb">[</span><span class="literal">Status=</span> <span class="term">nonObject</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal">StartCol=</span> <span class="term">number</span><span class="squareb">]</span><span class="comma">,</span> - | <span class="squareb">[</span><span class="literal">Status=</span> <span class="term" title="NonObject">nonObject</span><span class="squareb">]</span><span class="comma">,</span> <span class="squareb">[</span><span class="literal">StartCol=</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="comma">,</span> - | ||
<span class="squareb">[</span><span class="literal">EndCol=</span> <span class="term">number</span><span class="squareb">]</span><span class="literal">)</span></p> | <span class="squareb">[</span><span class="literal">EndCol=</span> <span class="term" title="Number">number</span><span class="squareb">]</span><span class="literal">)</span></p> |
Revision as of 20:44, 22 January 2011
[%itemNum=] sl:RegexLocate( regex, [startItem], [Options= string], - [Status= nonObject], [StartCol= number], - [EndCol= number])