aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/regex/pcre/regexp.cpp
diff options
context:
space:
mode:
authorkimkim <kimkim@yandex-team.ru>2022-02-10 16:49:28 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:28 +0300
commit10807864acf73d00f425a23b442aac2cf34403a8 (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/regex/pcre/regexp.cpp
parent13f84424ed9975f6827d9786087c6fe6ea265cda (diff)
downloadydb-10807864acf73d00f425a23b442aac2cf34403a8.tar.gz
Restoring authorship annotation for <kimkim@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/regex/pcre/regexp.cpp')
-rw-r--r--library/cpp/regex/pcre/regexp.cpp8
1 files changed, 4 insertions, 4 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);