aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/regex
diff options
context:
space:
mode:
authorzakarum <zakarum@yandex-team.ru>2022-02-10 16:49:34 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:49:34 +0300
commit0041d99876ae3dccc3f0fa8787131d85ddfd486b (patch)
tree5d5cb817648f650d76cf1076100726fd9b8448e8 /library/cpp/regex
parentdbfeb17da4d5c610309076cffa8aeb7ac1da411c (diff)
downloadydb-0041d99876ae3dccc3f0fa8787131d85ddfd486b.tar.gz
Restoring authorship annotation for <zakarum@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/regex')
-rw-r--r--library/cpp/regex/pcre/regexp.cpp12
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;
}