RegExpMatch Class Reference

A regular expression substring match. More...

#include <RegExp.h++>

List of all members.

Public Member Functions

 RegExpMatch ()
 Constructor.
bool isValid () const throw ()
 Determine if this match is valid.
uint_t getStartIndex () const throw ()
 Get the start index of the substring.
uint_t getEndIndex () const throw ()
 Get the end index of the substring.

Friends

class RegExp

Detailed Description

A regular expression substring match.

This class represents the portion of a string that matched a subgroup in a regular expression.

Author:
Mark Lindner

Constructor & Destructor Documentation

RegExpMatch (  )  [inline]

Constructor.


Member Function Documentation

uint_t getEndIndex (  )  const throw () [inline]

Get the end index of the substring.

If both the start and end index are 0, a non-match is indicated.

uint_t getStartIndex (  )  const throw () [inline]

Get the start index of the substring.

bool isValid (  )  const throw () [inline]

Determine if this match is valid.


Friends And Related Function Documentation

friend class RegExp [friend]

The documentation for this class was generated from the following file:
Generated on Sat Nov 26 16:49:09 2011 for libcommonc++ by  doxygen 1.6.3