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 | 413709c9be39070df9cbd14ef3ec098591346ebd (patch) | |
tree | 6a130dff5487ce1eaa161ad316c6c29c998a8ba8 /library/cpp/regex/pcre/regexp.h | |
parent | d8825989a7621fc7275e8cfdba16b4f699fb6359 (diff) | |
download | ydb-413709c9be39070df9cbd14ef3ec098591346ebd.tar.gz |
Restoring authorship annotation for <sibiryakov@yandex-team.ru>. Commit 1 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 bc610bd2f3..50c8b35ba4 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; |