diff options
author | danlark <danlark@yandex-team.ru> | 2022-02-10 16:46:10 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:10 +0300 |
commit | baa58daefa91fde4b4769facdbd2903763b9c6a8 (patch) | |
tree | 1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/regex/pire/regexp.h | |
parent | 3426a9bc7f169ae9da54cef557ad2a33f6e8eee0 (diff) | |
download | ydb-baa58daefa91fde4b4769facdbd2903763b9c6a8.tar.gz |
Restoring authorship annotation for <danlark@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/regex/pire/regexp.h')
-rw-r--r-- | library/cpp/regex/pire/regexp.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/cpp/regex/pire/regexp.h b/library/cpp/regex/pire/regexp.h index 9fceacc028..94bba4064b 100644 --- a/library/cpp/regex/pire/regexp.h +++ b/library/cpp/regex/pire/regexp.h @@ -278,8 +278,8 @@ namespace NRegExp { } inline TStringBuf GetCaptured() const noexcept { - return TStringBuf(Data.data() + GetState().Begin() - 1, - Data.data() + GetState().End() - 1); + return TStringBuf(Data.data() + GetState().Begin() - 1, + Data.data() + GetState().End() - 1); } private: @@ -302,7 +302,7 @@ namespace NRegExp { inline TSlowSearcher& Search(const char* data, size_t len, bool addBegin = false, bool addEnd = false) noexcept { TStringBuf textData(data, len); Data = textData; - Run(Data.begin(), Data.size(), addBegin, addEnd); + Run(Data.begin(), Data.size(), addBegin, addEnd); return GetAns(); } |