Template:Unicode:UnicodeRegexMatch syntax: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
(Automatically generated page update) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
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="term">%number</span><span class="literal"> =</span> <span class="term">unicode</span><span class="literal">:UnicodeRegexMatch</span><span class="literal">(</span> <span class="term" title="Unicode">regex</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> - | <p class="syntax"><span class="term">%number</span><span class="literal"> =</span> <span class="term">unicode</span><span class="literal">:UnicodeRegexMatch</span><span class="literal">(</span> <span class="term" title="Unicode">regex</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="Stringlist">CaptureList=</span> <span class="term" title="Stringlist">stringlist</span><span class="squareb">]</span><span class="literal">)</span></p> | <span class="squareb">[</span><span class="literal" title="Stringlist">CaptureList=</span> <span class="term" title="Stringlist">stringlist</span><span class="squareb">]</span><span class="literal">)</span> | ||
Throws [[InvalidRegex class|InvalidRegex]]</p> |
Latest revision as of 20:13, 23 April 2014
%number = unicode:UnicodeRegexMatch( regex, [Options= string], - [CaptureList= stringlist]) Throws InvalidRegex