Introduction

Syntax

Program Help

Examples

Download

Match Tool 2.1

Match Tool 3.0

 

MatchResult::GetGroupEnd

Return: Content | Prev GetGroupStart | Next: MaxGroupNumber


MatchResult::GetGroupEnd

int GetGroupEnd(int nGroupNumber) const;


Return Value

The end position of substring which captured by group. Negative value if capture failed.


Parameters

nGroupNumber
     Group number.


Remarks

Get the end position of captured substring by group. If the group has not captured or the overall regular expression has failed to match, it will return a negative value.

 

 

RegExLab.com © 2005 - All Rights Reserved