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

#include <p6regex.h>

Inherits P6R::p6ICom.

Public Member Functions

virtual P6INT32 addref (void)=0
 
virtual P6R::P6ERR compile (const P6CHAR *pRegex, P6REGEXMODIFIER modifiers)=0
 
virtual P6R::P6ERR getCaptureText (P6UINT32 index, P6UINT32 *pOffset, P6UINT32 *pLength)=0
 
virtual P6R::P6ERR getNamedCaptureText (const P6CHAR *pName, P6UINT32 *pOffset, P6UINT32 *pLength)=0
 
virtual P6R::P6ERR initialize (P6REGEXFLAGS flags, P6REGEXMODE mode)=0
 
virtual P6R::P6ERR match (const P6CHAR *pMatch, P6REGEXMODIFIER modifiers)=0
 
virtual P6R::P6ERR queryInterface (const P6R::P6IID &iid, P6VOID **ppIface)=0
 
virtual P6INT32 release (void)=0
 
virtual P6R::P6ERR replace (const P6CHAR *pSearch, P6REGEXMODIFIER modifiers, const P6CHAR *pReplace, P6CHAR *pResult, P6UINT32 cBuffer, P6UINT32 *pWritten)=0
 
virtual P6R::P6ERR replaceInPlace (P6CHAR *pSearch, P6REGEXMODIFIER modifiers, const P6CHAR *pReplace, P6UINT32 *pSize)=0
 
virtual P6R::P6ERR replaceWithCallback (const P6CHAR *pSearch, P6REGEXMODIFIER modifiers, P6REGEXREPLACECB pfn, P6VOID *pCtx, p6IRegexMatch **pResult)=0
 
virtual P6R::P6ERR search (const P6CHAR *pSearch, P6REGEXMODIFIER modifiers, P6UINT32 *pOffset, P6UINT32 *pLength)=0
 
virtual P6R::P6ERR setBackTrackLimits (P6UINT32 maxBackStack, P6UINT32 maxBackTracks)=0
 
virtual P6R::P6ERR setTrace (P6REGEXTRACELEVEL level)=0
 

Detailed Description

This interface provides access the to the narrow string 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.

See Also
regex_example1 for basic usage.
P6REGEXTRACELEVEL

Definition at line 176 of file p6regex.h.


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