1 ˆ ƒO»_•I|¥‰ÓMdœv ©ƒ&íK<óo¬ÁÀ Ù
| Name | Last modified | Size | Description | |
|---|---|---|---|---|
| Parent Directory | - | |||
| dev | 2026-10-11 19:39 | 4.0K | ||
| power/ | 2026-10-11 19:36 | - | ||
| subsystem/ | 2026-10-11 18:31 | - | ||
| uevent | 2026-10-11 19:36 | 4.0K | ||
This is a C wrapper around the C++ RegexPattern and RegexMatcher classes.
*/ #ifndef UREGEX_H #define UREGEX_H #include "unicode/utext.h" #include "unicode/utypes.h" #if !UCONFIG_NO_REGULAR_EXPRESSIONS #include "unicode/localpointer.h" #include "unicode/parseerr.h" struct URegularExpression; /** * Structure representing a compiled regular expression, plus the results * of a match operation. * @stable ICU 3.0 */ typedef struct URegularExpression URegularExpression; /** * Constants for Regular Expression Match Modes. * @stable ICU 2.4 */ typedef enum URegexpFlag{ #ifndef U_HIDE_DRAFT_API /** Forces normalization of pattern and strings. Not implemented yet, just a placeholder, hence draft. @draft ICU 2.4 */ UREGEX_CANON_EQ = 128, #endif /* U_HIDE_DRAFT_API */ /** Enable case insensitive matching. @stable ICU 2.4 */ UREGEX_CASE_INSENSITIVE = 2, /** Allow white space and comments within patterns @stable ICU 2.4 */ UREGEX_COMMENTS = 4, /** If set, '.' matches line terminators, otherwise '.' matching stops at line end. * @stable ICU 2.4 */ UREGEX_DOTALL = 32, /** If set, treat the entire pattern as a literal string. * Metacharacters or escape sequences in the input sequence will be given * no special meaning. * * The flag UREGEX_CASE_INSENSITIVE retains its impact * on matching when used in conjunction with this flag. * The other flags become superfluous. * * @stable ICU 4.0 */ UREGEX_LITERAL = 16, /** Control behavior of "$" and "^" * If set, recognize line terminators within string, * otherwise, match only at start and end of input string. * @stable ICU 2.4 */ UREGEX_MULTILINE = 8, /** U