Result = RegularExpressionNamedGroupLength(#RegularExpression, GroupName$)Description
Returns the length of the specified named regular expression group after a call to NextRegularExpressionMatch().
#RegularExpression The regular expression to use. ExamineRegularExpression() and NextRegularExpressionMatch() must have been called on this regular expression. GroupName$ The name of the group to extract. The group name is case sensitive.
Returns the character position of the group.
Groups in a regular expression are defined by surrounding a sub-expression with braces "(" and ")". Groups can either accessed by index using functions like RegularExpressionGroupLength() or they can be assigned a name using the "(?<name>)" syntax as shown in the example for the RegularExpressionNamedGroup() function.
ExamineRegularExpression(), NextRegularExpressionMatch(), RegularExpressionNamedGroup(), RegularExpressionNamedGroupPosition(), RegularExpressionGroupLength()