Introduction

Syntax

Program Help

Examples

Download

Match Tool 2.1

Match Tool 3.0

 

MatchResult::GetGroupStart

Return: Content | Prev GetEnd | Next: GetGroupEnd


MatchResult::GetGroupStart

int GetGroupStart(int nGroupNumber) const;


Return Value

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


Parameters

nGroupNumber
     Group number.


Remarks

Get the start 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