RegularExpressionMatchLength()

Syntax

Result = RegularExpressionMatchLength(#RegularExpression)
Description
Returns the length in characters of the current matching string after a call to NextRegularExpressionMatch().

Parameters

#RegularExpression The regular expression to use. ExamineRegularExpression() and NextRegularExpressionMatch() must have been called on this regular expression.

Return value

The length of the current match in characters.

Example

See ExamineRegularExpression() for an example.

See Also

ExamineRegularExpression(), NextRegularExpressionMatch(), RegularExpressionMatchString(), RegularExpressionMatchPosition()

Supported OS

All

<- RegularExpressionGroupPosition() - RegularExpression Index - RegularExpressionMatchPosition() ->