aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/regex/pcre/regexp.h
diff options
context:
space:
mode:
authorVlad Yaroslavlev <vladon@vladon.com>2022-02-10 16:46:25 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:25 +0300
commit344ea37b4a345701ab0e67de2266a1c1bd7baf2d (patch)
tree1a2c5ffcf89eb53ecd79dbc9bc0a195c27404d0c /library/cpp/regex/pcre/regexp.h
parent706b83ed7de5a473436620367af31fc0ceecde07 (diff)
downloadydb-344ea37b4a345701ab0e67de2266a1c1bd7baf2d.tar.gz
Restoring authorship annotation for Vlad Yaroslavlev <vladon@vladon.com>. Commit 2 of 2.
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);
};