regex.h File Reference


Detailed Description

C++ API: Regular Expressions.

Regular Expression API

The ICU API for processing regular expressions consists of two classes, RegexPattern and RegexMatcher. RegexPattern objects represent a pre-processed, or compiled regular expression. They are created from a regular expression pattern string, and can be used to create RegexMatcher objects for the pattern.

Class RegexMatcher bundles together a regular expression pattern and a target string to which the search pattern will be applied. RegexMatcher includes API for doing plain find or search operations, for search and replace operations, and for obtaining detailed information about bounds of a match.

Definition in file regex.h.

#include "unicode/utypes.h"
#include "unicode/uobject.h"
#include "unicode/unistr.h"
#include "unicode/parseerr.h"
#include "unicode/uregex.h"

Go to the source code of this file.

Data Structures

class  RegexPattern
 Class RegexPattern represents a compiled regular expression. More...

class  RegexMatcher
 class RegexMatcher bundles together a reular expression pattern and input text to which the expression can be applied. More...


Defines

#define RegexPatternDump(pat)
 RBBIPatternDump Debug function, displays the compiled form of a pattern.


Define Documentation

#define RegexPatternDump pat   ) 
 

RBBIPatternDump Debug function, displays the compiled form of a pattern.

Internal:
Do not use. This API is for interal use only.

Definition at line 78 of file regex.h.


Generated on Fri Jun 18 12:36:05 2004 for ICU by doxygen 1.3.7