Skip to main content
ATL Server Library Reference 
CAtlRegExp::Match 

Call this method to match a string.


BOOL Match(
   const RECHAR* szIn,
   CAtlREMatchContext< CharTraits >* pContext,
   const RECHAR** ppszEnd = NULL 
);

Parameters

szIn

The input string.

pContext

The match context object.

ppszEnd

If present, is set to the beginning of the unvisited portion of the string after matching. This allows you to continue matching in the same string.

Returns TRUE on success, FALSE on failure.