aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/regex/pcre/regexp.h
diff options
context:
space:
mode:
Diffstat (limited to 'library/cpp/regex/pcre/regexp.h')
-rw-r--r--library/cpp/regex/pcre/regexp.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/library/cpp/regex/pcre/regexp.h b/library/cpp/regex/pcre/regexp.h
index 742fa20dac..bc610bd2f3 100644
--- a/library/cpp/regex/pcre/regexp.h
+++ b/library/cpp/regex/pcre/regexp.h
@@ -3,7 +3,7 @@
#include <sys/types.h>
#include <util/system/defaults.h>
-#include <util/generic/string.h>
+#include <util/generic/string.h>
#include <util/generic/yexception.h>
#include <contrib/libs/pcre/pcre.h>
@@ -22,21 +22,21 @@ protected:
public:
TRegExBase(const char* regExpr = nullptr, int cflags = REG_EXTENDED);
- TRegExBase(const TString& regExpr, int cflags = REG_EXTENDED);
+ TRegExBase(const TString& regExpr, int cflags = REG_EXTENDED);
virtual ~TRegExBase();
int Exec(const char* str, regmatch_t pmatch[], int eflags, int nmatches = NMATCHES) const;
- void Compile(const TString& regExpr, int cflags = REG_EXTENDED);
+ void Compile(const TString& regExpr, int cflags = REG_EXTENDED);
bool IsCompiled() const;
int GetCompileOptions() const;
- TString GetRegExpr() const;
+ TString GetRegExpr() const;
};
class TRegExMatch: public TRegExBase {
public:
TRegExMatch(const char* regExpr = nullptr, int cflags = REG_NOSUB | REG_EXTENDED);
- TRegExMatch(const TString& regExpr, int cflags = REG_NOSUB | REG_EXTENDED);
+ TRegExMatch(const TString& regExpr, int cflags = REG_NOSUB | REG_EXTENDED);
bool Match(const char* str) const;
};
@@ -58,6 +58,6 @@ private:
public:
TRegExSubst(const char* regExpr = nullptr, int cflags = REG_EXTENDED);
- TString Replace(const char* str, int eflags = 0);
+ TString Replace(const char* str, int eflags = 0);
int ParseReplacement(const char* replacement);
};