Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
P6R::p6IWRegex Interface Referenceabstract

#include <p6wregex.h>

Inherits P6R::p6ICom.

Public Member Functions

virtual P6INT32 addref (void)=0
 
virtual P6R::P6ERR compile (const P6WCHAR *pRegex, P6WREGEXMODIFIER modifiers)=0
 
virtual P6R::P6ERR getCaptureText (P6UINT32 index, P6UINT32 *pOffset, P6UINT32 *pLength)=0
 
virtual P6R::P6ERR getNamedCaptureText (const P6WCHAR *pName, P6UINT32 *pOffset, P6UINT32 *pLength)=0
 
virtual P6R::P6ERR initialize (P6WREGEXFLAGS flags, P6WREGEXMODE mode)=0
 
virtual P6R::P6ERR match (const P6WCHAR *pMatch, P6WREGEXMODIFIER modifiers)=0
 
virtual P6R::P6ERR queryInterface (const P6R::P6IID &iid, P6VOID **ppIface)=0
 
virtual P6INT32 release (void)=0
 
virtual P6R::P6ERR replace (const P6WCHAR *pSearch, P6WREGEXMODIFIER modifiers, const P6WCHAR *pReplace, P6WCHAR *pResult, P6UINT32 cBuffer, P6UINT32 *pWritten)=0
 
virtual P6R::P6ERR replaceInPlace (P6WCHAR *pSearch, P6WREGEXMODIFIER modifiers, const P6WCHAR *pReplace, P6UINT32 *pSize)=0
 
virtual P6R::P6ERR replaceWithCallback (const P6WCHAR *pSearch, P6WREGEXMODIFIER modifiers, P6WREGEXREPLACECB pfn, P6VOID *pCtx, p6IWRegexMatch **pResult)=0
 
virtual P6R::P6ERR search (const P6WCHAR *pSearch, P6WREGEXMODIFIER modifiers, P6UINT32 *pOffset, P6UINT32 *pLength)=0
 
virtual P6R::P6ERR setBackTrackLimits (P6UINT32 maxBackStack, P6UINT32 maxBackTracks)=0
 
virtual P6R::P6ERR setLocale (const P6CHAR *pLocale)=0
 
virtual P6R::P6ERR setTrace (P6WREGEXTRACELEVEL level)=0
 

Detailed Description

This interface provides access the to the wide string (patform wchar_t) regular expression engine and supports both Perl and EGREP compatible regular expressions.

The setTrace() methods can be called to enable tracing, which depending on the tracing level, can produce extensive information that makes it easy to exaimine how a regular expression is working.

Definition at line 173 of file p6wregex.h.


The documentation for this interface was generated from the following file: