157 #define IF_p6IRegexMatch {0xE7334DA2,0xAECB,0x46B5,{0xB3,0x73,0xBD,0xFC,0x2B,0x3B,0x96,0xC0}}
290 P6REGEXMODIFIER modifiers,
325 P6REGEXMODIFIER modifiers,
356 P6REGEXMODIFIER modifiers,
394 P6REGEXMODIFIER modifiers,
466 #define IF_p6IRegex {0x14fc8f04,0xf531,0x4ab1,{0x9a,0x9e,0xf8,0x0,0x2a,0xc3,0x5e,0xdb}}
469 #define COMP_p6Regex {0x35fa0abf,0x90ff,0x481d,{0x91,0xd6,0x74,0xe1,0xd1,0xb1,0xd6,0xf8}}
virtual P6R::P6ERR compile(const P6CHAR *pRegex, P6REGEXMODIFIER modifiers)=0
Compile (and verify) a regular expression into an internal format for evaluation. ...
virtual P6R::P6ERR match(const P6CHAR *pMatch, P6REGEXMODIFIER modifiers)=0
Does the compiled regular expression recognize the entire pMatch input string ? This function will tr...
const P6REGEXMODIFIER P6MODIFIER_GLOBAL
virtual P6R::P6ERR replaceInPlace(P6CHAR *pSearch, P6REGEXMODIFIER modifiers, const P6CHAR *pReplace, P6UINT32 *pSize)=0
Replaces the first matching subexpressions in the pSearch string with the pReplace string...
const P6REGEXMODIFIER P6MODIFIER_FULLLOOKBEHIND
Return zero or more strings resulting from a regex operation.
virtual P6R::P6ERR getCaptureText(P6UINT32 index, P6UINT32 *pOffset, P6UINT32 *pLength)=0
Return the text by the 1st, 2nd, 3rd, etc set of capturing parentheses.
const P6REGEXTRACELEVEL P6REGEX_TRACE_OFF
virtual P6R::P6ERR search(const P6CHAR *pSearch, P6REGEXMODIFIER modifiers, P6UINT32 *pOffset, P6UINT32 *pLength)=0
Does the compiled regular expression match a substring in the pSearch input string.
The base interface all [p6]COM components must derive from and implement.
const P6REGEXMODIFIER P6MODIFIER_INSENSITIVE
P6COM base interface definitions.
P6REGEXMODE
This type defines the supported compatitbility modes with other regular expression engines...
const P6REGEXTRACELEVEL P6REGEX_TRACE_DEBUG
virtual P6R::P6ERR next(const P6CHAR **pResult)=0
This method is used to iterate zero or more strings generated from a regex function.
virtual P6R::P6ERR replace(const P6CHAR *pSearch, P6REGEXMODIFIER modifiers, const P6CHAR *pReplace, P6CHAR *pResult, P6UINT32 cBuffer, P6UINT32 *pWritten)=0
Replaces the first matching subexpressions in the pSearch string with the pReplace string...
const P6CHAR *(* P6REGEXREPLACECB)(const P6CHAR *pMatchedText, P6VOID *pCtx)
Used for the replaceWithCallBack() function.
const P6REGEXTRACELEVEL P6REGEX_TRACE_BASIC
virtual P6R::P6ERR setBackTrackLimits(P6UINT32 maxBackStack, P6UINT32 maxBackTracks)=0
As default there are NO limits to the number of elements that can be saved on the backtrack stack...
const P6REGEXMODIFIER P6MODIFIER_NULL
const P6REGEXMODIFIER P6MODIFIER_MULTILINE
P6UINT32 P6REGEXTRACELEVEL
flags dedicated to the control of execution tracing
virtual P6R::P6ERR setTrace(P6REGEXTRACELEVEL level)=0
Toggle tracing of the internal working of the regex engine on/off.
virtual P6R::P6ERR initialize(P6REGEXFLAGS flags, P6REGEXMODE mode)=0
Sets up the object to run properly.
virtual P6R::P6ERR replaceWithCallback(const P6CHAR *pSearch, P6REGEXMODIFIER modifiers, P6REGEXREPLACECB pfn, P6VOID *pCtx, p6IRegexMatch **pResult)=0
Replaces the first matching subexpressions in the pSearch string with a replacement string provided a...
P6UINT32 P6REGEXMODIFIER
This type defines how to modify (or adjust) the matching process.
This interface provides access the to the narrow string regular expression engine and supports both P...
virtual P6R::P6ERR reset()=0
This method is used to re-start the enumerator at the beginning.
const P6REGEXFLAGS P6REGEX_NOFLAGS
const P6REGEXMODIFIER P6MODIFIER_FASTGREEDY
virtual P6R::P6ERR getNamedCaptureText(const P6CHAR *pName, P6UINT32 *pOffset, P6UINT32 *pLength)=0
Return the text by the name used in a Named Capture (i.e., "(?<name> )").
P6UINT32 P6REGEXFLAGS
P6REGEXFLAGS.
const P6REGEXMODIFIER P6MODIFIER_NEWLINE
char P6CHAR
Narrow character type.
const P6REGEXMODIFIER P6MODIFIER_SKIPWHITESPACE