Position (InvalidRegex property): Difference between revisions

From m204wiki
Jump to navigation Jump to search
m (stolen from the pdf, match synax terms tpo diagram, tags and edits)
mNo edit summary
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.
This readOnly property is the position in the [[Regex_processing|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==
==Syntax==
Line 7: Line 7:
<table class="syntaxTable">
<table class="syntaxTable">
<tr><th>%number</th>
<tr><th>%number</th>
<td>This numeric value is the position in the <var>regular expression</var> where the error was detected.
<td>This numeric value is the position in the regular expression where the error was detected.
</td></tr>
</td></tr>
<tr><th>%invalidRegex</th>
<tr><th>%invalidRegex</th>

Revision as of 23:55, 2 May 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