|
|
Home | Loader API | Interfaces | File List | Index | |
This interface supports a Perl Compatible Regular Expression Engine. More...
#include <p6wregex.h>
Inherits P6R::p6ICom.
Public Member Functions | |
virtual P6R::P6INT32 | addref ()=0 |
This method increases the reference count of the component instance by one. | |
virtual P6R::P6ERR | compile (const P6WCHAR *pRegex, P6WREGEXMODIFIER modifiers)=0 |
Compile (and verify) a regular expression into an internal format for evaluation. | |
virtual P6R::P6ERR | getCaptureText (P6UINT32 index, P6UINT32 *pOffset, P6UINT32 *pLength)=0 |
Return the text by the 1st, 2nd, 3rd, etc. | |
virtual P6R::P6ERR | initialize (P6WREGEXFLAGS flags, P6WREGEXMODE mode)=0 |
Sets up the object to run properly. | |
virtual P6R::P6ERR | match (const P6WCHAR *pMatch, P6WREGEXMODIFIER modifiers)=0 |
Does the compiled regular expression recognize the entire pMatch input string ? This function will try to match the ENTIRE input string, not part of it. | |
virtual P6R::P6ERR | queryInterface (const P6R::IID &iid, P6R::P6VOID **ppIface)=0 |
This method queries the component for a specific interface. | |
virtual P6R::P6INT32 | release ()=0 |
This method decrements a components reference count. | |
virtual P6R::P6ERR | replace (const P6WCHAR *pSearch, P6WREGEXMODIFIER modifiers, const P6WCHAR *pReplace, P6WCHAR *pResult, P6UINT32 cBuffer, P6UINT32 *pWritten)=0 |
Replace the first matching subexpressions with the pSearch string with the pReplace string. | |
virtual P6R::P6ERR | replaceInPlace (P6WCHAR *pSearch, P6WREGEXMODIFIER modifiers, const P6WCHAR *pReplace, P6UINT32 *pSize)=0 |
Replace the first matching subexpressions with the pSearch string with the pReplace string. | |
virtual P6R::P6ERR | replaceWithCallback (const P6WCHAR *pSearch, P6WREGEXMODIFIER modifiers, P6WREGEXREPLACECB pfn, P6VOID *pCtx, p6IWRegexMatch **pResult)=0 |
Replace the first matching subexpressions with the pSearch string with a replacement string provided as the result of a callback function. | |
virtual P6R::P6ERR | search (const P6WCHAR *pSearch, P6WREGEXMODIFIER modifiers, P6UINT32 *pOffset, P6UINT32 *pLength)=0 |
Does the compiled regular expression match a substring in the pSearch input string. | |
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. | |
virtual P6R::P6ERR | setLocale (const P6CHAR *pLocale)=0 |
This method allows the caller to set the locale that will be used during matching and searching of wide characters. | |
virtual P6R::P6ERR | setTrace (P6WREGEXTRACELEVEL level)=0 |
Toggle tracing of the internal working of the regex engine on/off. |
This interface supports a Perl Compatible Regular Expression Engine.
It contains extensive logging so that it is easy to exaimine how a regular expression is working.
Definition at line 159 of file p6wregex.h.