47 #if !UCONFIG_NO_REGULAR_EXPRESSIONS
81 #define RegexPatternDump(pat)
383 UVector32 *fCompiledPat;
388 Regex8BitSet *fSets8;
406 UVector32 *fGroupMap;
414 Regex8BitSet *fStaticSets8;
422 Regex8BitSet *fInitialChars8;
424 friend class RegexCompile;
426 friend class RegexCImpl;
434 void dumpOp(
int32_t index)
const;
585 virtual UBool find();
632 virtual int32_t groupCount()
const;
787 virtual int32_t regionStart()
const;
798 virtual int32_t regionEnd()
const;
808 virtual UBool hasTransparentBounds()
const;
838 virtual UBool hasAnchoringBounds()
const;
866 virtual UBool hitEnd()
const;
877 virtual UBool requireEnd()
const;
1035 virtual int32_t getTimeLimit()
const;
1067 virtual int32_t getStackLimit()
const;
1084 const void *context,
1100 const void *&context,
1109 void setTrace(
UBool state);
1137 friend class RegexCImpl;
1140 void resetPreserveRegion();
1151 REStackFrame *resetStack();
1152 inline REStackFrame *StateSave(REStackFrame *fp,
int32_t savePatIdx,
UErrorCode &status);
1178 UBool fTransparentBounds;
1179 UBool fAnchoringBounds;
1197 REStackFrame *fFrame;
1218 const void *fCallbackContext;
1231 #endif // UCONFIG_NO_REGULAR_EXPRESSIONS
A subclass of BreakIterator whose behavior is specified using a list of rules.
#define RegexPatternDump(pat)
RBBIPatternDump Debug function, displays the compiled form of a pattern.
Class RegexPattern represents a compiled regular expression.
A mutable set of Unicode characters and multicharacter strings.
#define U_INTERNAL
This is used to declare a function as an internal ICU C API.
unsigned int uint32_t
Define 64 bit limits.
#define U_I18N_API
Set to export library symbols from inside the i18n library, and to import them from outside...
#define U_NAMESPACE_BEGIN
This is used to begin a declaration of a public ICU C++ API.
C API: Regular Expressions.
int32_t UChar32
Define UChar32 as a type for single Unicode code points.
UnicodeString is a string class that stores Unicode characters directly and provides similar function...
C++ API: Common ICU base class UObject.
uint16_t UChar
Define UChar to be wchar_t if that is 16 bits wide; always assumed to be unsigned.
#define U_NAMESPACE_END
This is used to end a declaration of a public ICU C++ API If the compiler doesn't support namespaces...
UBool URegexMatchCallback(const void *context, int32_t steps)
Function pointer for a regular expression matching callback function.
UObject is the common ICU "boilerplate" class.
C API: Parse Error Information.
void * UClassID
UClassID is used to identify classes without using RTTI, since RTTI is not yet supported by all C++ c...
UErrorCode
Error code to replace exception handling, so that the code is compatible with all C++ compilers...
A UParseError struct is used to returned detailed information about parsing errors.
Basic definitions for ICU, for both C and C++ APIs.
class RegexMatcher bundles together a reular expression pattern and input text to which the expressio...
UBool operator!=(const RegexPattern &that) const
Comparison operator.
virtual UClassID getDynamicClassID() const =0
ICU4C "poor man's RTTI", returns a UClassID for the actual ICU class.
signed int int32_t
Define 64 bit limits.
int8_t UBool
The ICU boolean type.