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 | dbfeb17da4d5c610309076cffa8aeb7ac1da411c (patch) | |
tree | 974a315804a261fcebcb58c406172e40dc1a2bb7 /library | |
parent | 62bad8df5b890e3012b8949bcf6d2e885ce8972c (diff) | |
download | ydb-dbfeb17da4d5c610309076cffa8aeb7ac1da411c.tar.gz |
Restoring authorship annotation for <zakarum@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library')
-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 575c09cee4..1bcd071e87 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; } |