diff options
author | kimkim <kimkim@yandex-team.ru> | 2022-02-10 16:49:28 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:28 +0300 |
commit | 10807864acf73d00f425a23b442aac2cf34403a8 (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/regex/pcre | |
parent | 13f84424ed9975f6827d9786087c6fe6ea265cda (diff) | |
download | ydb-10807864acf73d00f425a23b442aac2cf34403a8.tar.gz |
Restoring authorship annotation for <kimkim@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/regex/pcre')
-rw-r--r-- | library/cpp/regex/pcre/regexp.cpp | 8 | ||||
-rw-r--r-- | library/cpp/regex/pcre/regexp.h | 4 | ||||
-rw-r--r-- | library/cpp/regex/pcre/ya.make | 20 |
3 files changed, 16 insertions, 16 deletions
diff --git a/library/cpp/regex/pcre/regexp.cpp b/library/cpp/regex/pcre/regexp.cpp index 407eab0960..575c09cee4 100644 --- a/library/cpp/regex/pcre/regexp.cpp +++ b/library/cpp/regex/pcre/regexp.cpp @@ -30,7 +30,7 @@ private: Pmatch[MatchPos].rm_eo = MatchBuf[2 * i + 1]; MatchPos++; if (MatchPos >= NMATCHES) { - ythrow yexception() << "TRegExBase::Exec(): Not enough space in internal buffer."; + ythrow yexception() << "TRegExBase::Exec(): Not enough space in internal buffer."; } } } @@ -47,7 +47,7 @@ private: NMATCHES); /* number of elements in the output vector */ if (rc == 0) { - ythrow yexception() << "TRegExBase::Exec(): Not enough space in internal buffer."; + ythrow yexception() << "TRegExBase::Exec(): Not enough space in internal buffer."; } return rc; @@ -161,10 +161,10 @@ public: int Exec(const char* str, regmatch_t pmatch[], int eflags, int nmatches) const { if (!RegExpr) { - ythrow yexception() << "Regular expression is not compiled"; + ythrow yexception() << "Regular expression is not compiled"; } if (!str) { - ythrow yexception() << "Empty string is passed to TRegExBaseImpl::Exec"; + ythrow yexception() << "Empty string is passed to TRegExBaseImpl::Exec"; } if ((eflags & REGEXP_GLOBAL) == 0) { return regexec(&Preg, str, nmatches, pmatch, eflags); diff --git a/library/cpp/regex/pcre/regexp.h b/library/cpp/regex/pcre/regexp.h index af415be70c..bc610bd2f3 100644 --- a/library/cpp/regex/pcre/regexp.h +++ b/library/cpp/regex/pcre/regexp.h @@ -2,9 +2,9 @@ #include <sys/types.h> -#include <util/system/defaults.h> +#include <util/system/defaults.h> #include <util/generic/string.h> -#include <util/generic/yexception.h> +#include <util/generic/yexception.h> #include <contrib/libs/pcre/pcre.h> #include <contrib/libs/pcre/pcreposix.h> diff --git a/library/cpp/regex/pcre/ya.make b/library/cpp/regex/pcre/ya.make index e997f0751c..d34911f103 100644 --- a/library/cpp/regex/pcre/ya.make +++ b/library/cpp/regex/pcre/ya.make @@ -1,20 +1,20 @@ LIBRARY() OWNER(g:util) - -PEERDIR( - contrib/libs/pcre + +PEERDIR( + contrib/libs/pcre contrib/libs/pcre/pcre16 contrib/libs/pcre/pcre32 library/cpp/containers/stack_array -) - -SRCS( +) + +SRCS( pcre.cpp - regexp.cpp -) - -END() + regexp.cpp +) + +END() RECURSE_FOR_TESTS( benchmark |