Home
Articles
Projects
Purchase
Support

 

Introduction

Syntax

Program Help

Examples

Download

Match Tool

 

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 - 2006 All Rights Reserved