diff options
author | leo <leo@yandex-team.ru> | 2022-02-10 16:46:40 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:46:40 +0300 |
commit | 980edcd3304699edf9d4e4d6a656e585028e2a72 (patch) | |
tree | 139f47f3911484ae9af0eb347b1a88bd6c4bb35f /library/cpp/regex/pcre | |
parent | b036a557f285146e5e35d4213e29a094ab907bcf (diff) | |
download | ydb-980edcd3304699edf9d4e4d6a656e585028e2a72.tar.gz |
Restoring authorship annotation for <leo@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/regex/pcre')
-rw-r--r-- | library/cpp/regex/pcre/regexp.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/regex/pcre/regexp.cpp b/library/cpp/regex/pcre/regexp.cpp index 575c09cee4..e7c2dfa047 100644 --- a/library/cpp/regex/pcre/regexp.cpp +++ b/library/cpp/regex/pcre/regexp.cpp @@ -4,7 +4,7 @@ #include <util/string/ascii.h> #include <util/system/defaults.h> -#include <cstdlib> +#include <cstdlib> #include <util/generic/noncopyable.h> class TGlobalImpl : TNonCopyable { @@ -24,7 +24,7 @@ private: }; private: - void CopyResults(int count) { + void CopyResults(int count) { for (int i = 0; i < count; i++) { Pmatch[MatchPos].rm_so = MatchBuf[2 * i]; Pmatch[MatchPos].rm_eo = MatchBuf[2 * i + 1]; @@ -35,7 +35,7 @@ private: } } - int DoPcreExec(int opts) { + int DoPcreExec(int opts) { int rc = pcre_exec( PregComp, /* the compiled pattern */ nullptr, /* no extra data - we didn't study the pattern */ @@ -89,7 +89,7 @@ public: StrLen = strlen(Str); } - int ExecGlobal() { + int ExecGlobal() { StartOffset = 0; int rc = DoPcreExec(Options); |