diff options
author | sibiryakov <sibiryakov@yandex-team.ru> | 2022-02-10 16:49:33 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:33 +0300 |
commit | 7fa2bc85438d6a40801444b0def15f9e76a44034 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/regex/pcre/regexp.h | |
parent | 413709c9be39070df9cbd14ef3ec098591346ebd (diff) | |
download | ydb-7fa2bc85438d6a40801444b0def15f9e76a44034.tar.gz |
Restoring authorship annotation for <sibiryakov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/regex/pcre/regexp.h')
-rw-r--r-- | library/cpp/regex/pcre/regexp.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/regex/pcre/regexp.h b/library/cpp/regex/pcre/regexp.h index 50c8b35ba4..bc610bd2f3 100644 --- a/library/cpp/regex/pcre/regexp.h +++ b/library/cpp/regex/pcre/regexp.h @@ -12,18 +12,18 @@ //THIS CODE LOOKS LIKE A TRASH, BUT WORKS. #define NMATCHES 100 -#define REGEXP_GLOBAL 0x0080 // use this if you want to find all occurences - +#define REGEXP_GLOBAL 0x0080 // use this if you want to find all occurences + class TRegExBaseImpl; -class TRegExBase { +class TRegExBase { protected: TSimpleIntrusivePtr<TRegExBaseImpl> Impl; public: TRegExBase(const char* regExpr = nullptr, int cflags = REG_EXTENDED); TRegExBase(const TString& regExpr, int cflags = REG_EXTENDED); - + virtual ~TRegExBase(); int Exec(const char* str, regmatch_t pmatch[], int eflags, int nmatches = NMATCHES) const; |