virtual P6R::P6ERR P6R::p6IWRegex::search ( const P6WCHAR *  pSearch,
P6WREGEXMODIFIER  modifiers,
P6UINT32 *  pOffset,
P6UINT32 *  pLength 
) [pure virtual]

Does the compiled regular expression match a substring in the pSearch input string.

Note, that the 'compile' function must be called before this function. If the component was created with the trace option then the evalution steps will be detailed logged.

Meaningful modifiers: { P6MOD_INSENSITIVE, P6MOD_FASTGREEDY, P6MOD_MULTILINE }

Parameters:
pSearch [IN] The wide string to test against the compiled regular expression.
modifiers [IN] A bit mask that defines how the regex engine performs the match
pOffset [OUT] Index into pSearch buffer pointing to where the regex match starts, value is equal to zero if no match found.
pLength [OUT] Length of the matching substring in pSearch, value is equal to zero if no match found.
Returns:
SuccessP6R::eOk 
FailureP6R::eNotInitializedA successful call to initialize was not made before this call.
P6R::eInvalidArgpSearch, pOffset, or pLength is NULL.
P6R::eAccessFaultThe compile function has not be successfully called.
P6R::eNoMemoryInsufficent memory to process the regex.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Defines
Copyright © 2004 - 2010 P6R Inc. - All Rights Reserved.