aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/regex
diff options
context:
space:
mode:
authorleo <leo@yandex-team.ru>2022-02-10 16:46:40 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:40 +0300
commit99609724f661f7e21d1cb08e8d80e87c3632fdb3 (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /library/cpp/regex
parent980edcd3304699edf9d4e4d6a656e585028e2a72 (diff)
downloadydb-99609724f661f7e21d1cb08e8d80e87c3632fdb3.tar.gz
Restoring authorship annotation for <leo@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/regex')
-rw-r--r--library/cpp/regex/pcre/regexp.cpp8
-rw-r--r--library/cpp/regex/pire/regexp.h2
2 files changed, 5 insertions, 5 deletions
diff --git a/library/cpp/regex/pcre/regexp.cpp b/library/cpp/regex/pcre/regexp.cpp
index e7c2dfa047..575c09cee4 100644
--- a/library/cpp/regex/pcre/regexp.cpp
+++ b/library/cpp/regex/pcre/regexp.cpp
@@ -4,7 +4,7 @@
#include <util/string/ascii.h>
#include <util/system/defaults.h>
-#include <cstdlib>
+#include <cstdlib>
#include <util/generic/noncopyable.h>
class TGlobalImpl : TNonCopyable {
@@ -24,7 +24,7 @@ private:
};
private:
- void CopyResults(int count) {
+ void CopyResults(int count) {
for (int i = 0; i < count; i++) {
Pmatch[MatchPos].rm_so = MatchBuf[2 * i];
Pmatch[MatchPos].rm_eo = MatchBuf[2 * i + 1];
@@ -35,7 +35,7 @@ private:
}
}
- int DoPcreExec(int opts) {
+ int DoPcreExec(int opts) {
int rc = pcre_exec(
PregComp, /* the compiled pattern */
nullptr, /* no extra data - we didn't study the pattern */
@@ -89,7 +89,7 @@ public:
StrLen = strlen(Str);
}
- int ExecGlobal() {
+ int ExecGlobal() {
StartOffset = 0;
int rc = DoPcreExec(Options);
diff --git a/library/cpp/regex/pire/regexp.h b/library/cpp/regex/pire/regexp.h
index 215263f8f3..94bba4064b 100644
--- a/library/cpp/regex/pire/regexp.h
+++ b/library/cpp/regex/pire/regexp.h
@@ -11,7 +11,7 @@
#include <util/generic/yexception.h>
namespace NRegExp {
- struct TMatcher;
+ struct TMatcher;
struct TFsmBase {
struct TOptions {