diff options
author | kimkim <kimkim@yandex-team.ru> | 2022-02-10 16:49:27 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:27 +0300 |
commit | 13f84424ed9975f6827d9786087c6fe6ea265cda (patch) | |
tree | b94acc282c49a5de96b9e3e19feead21736f3273 /library/cpp/regex/pcre/regexp.cpp | |
parent | 35f29a67a6b8e50e1826c837330086049114c5ba (diff) | |
download | ydb-13f84424ed9975f6827d9786087c6fe6ea265cda.tar.gz |
Restoring authorship annotation for <kimkim@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/regex/pcre/regexp.cpp')
-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..407eab0960 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); |