Position (InvalidRegex property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (1 revision)
m (stolen from the pdf, match synax terms tpo diagram, tags and edits)
Line 1: Line 1:
{{Template:InvalidRegex:Position subtitle}}
{{Template:InvalidRegex:Position subtitle}}
This readOnly property is the position in the <var>[[Regex_processing|regular expression]]</var> determined to be where the <var>regular expression</var> was invalid. It is possible that the mistake was earlier but was not detected until later.


==Syntax==
==Syntax==
Line 5: Line 6:
===Syntax terms===
===Syntax terms===
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%num</th>
<tr><th>%number</th>
<td>This numeric value is the position in the regular expression where the error was detected.
<td>This numeric value is the position in the <var>regular expression</var> where the error was detected.
</td></tr>
</td></tr>
<tr><th>%invReg</th>
<tr><th>%invalidRegex</th>
<td>A reference to an instance of an InvalidRegex object.
<td>A reference to an instance of an <var>[[InvalidRegex_class|InvalidRegex]]</var> object.


</td></tr></table>
</td></tr></table>
==See also==
==See also==
{{Template:InvalidRegex:Position footer}}
{{Template:InvalidRegex:Position footer}}

Revision as of 06:19, 22 April 2011

Regex position at or before which the error occurred (InvalidRegex class) This readOnly property is the position in the regular expression determined to be where the regular expression was invalid. It is possible that the mistake was earlier but was not detected until later.

Syntax

%number = invalidRegex:Position

Syntax terms

%number This numeric value is the position in the regular expression where the error was detected.
%invalidRegex A reference to an instance of an InvalidRegex object.

See also