aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/regex
diff options
context:
space:
mode:
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 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;
}