#include "unicode/utypes.h"
#include "unicode/uobject.h"
#include "unicode/unistr.h"
#include "unicode/parseerr.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. | |
Enumerations | |
enum | { UREGEX_CANON_EQ = 128, UREGEX_CASE_INSENSITIVE = 2, UREGEX_COMMENTS = 4, UREGEX_DOTALL = 32, UREGEX_MULTILINE = 8, UREGEX_UWORD = 256 } |
Constants for Regular Expression Match Modes. More... |
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.
|
RBBIPatternDump Debug function, displays the compiled form of a pattern.
For internal use only.
|
|
Constants for Regular Expression Match Modes. ICU 2.4
|