diff options
author | zakarum <zakarum@yandex-team.ru> | 2022-02-10 16:49:34 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:49:34 +0300 |
commit | 0041d99876ae3dccc3f0fa8787131d85ddfd486b (patch) | |
tree | 5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp | |
parent | dbfeb17da4d5c610309076cffa8aeb7ac1da411c (diff) | |
download | ydb-0041d99876ae3dccc3f0fa8787131d85ddfd486b.tar.gz |
Restoring authorship annotation for <zakarum@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp')
-rw-r--r-- | library/cpp/regex/pcre/regexp.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/regex/pcre/regexp.cpp b/library/cpp/regex/pcre/regexp.cpp index 1bcd071e87..575c09cee4 100644 --- a/library/cpp/regex/pcre/regexp.cpp +++ b/library/cpp/regex/pcre/regexp.cpp @@ -213,20 +213,20 @@ void TRegExBase::Compile(const TString& re, int cflags) { } int TRegExBase::Exec(const char* str, regmatch_t pmatch[], int eflags, int nmatches) const { - if (!Impl) - ythrow yexception() << "!Regular expression is not compiled"; + if (!Impl) + ythrow yexception() << "!Regular expression is not compiled"; return Impl->Exec(str, pmatch, eflags, nmatches); } int TRegExBase::GetCompileOptions() const { - if (!Impl) - ythrow yexception() << "!Regular expression is not compiled"; + if (!Impl) + ythrow yexception() << "!Regular expression is not compiled"; return Impl->CompileOptions; } TString TRegExBase::GetRegExpr() const { - if (!Impl) - ythrow yexception() << "!Regular expression is not compiled"; + if (!Impl) + ythrow yexception() << "!Regular expression is not compiled"; return Impl->RegExpr; } |