aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/regex
diff options
context:
space:
mode:
authorvvvv <vvvv@yandex-team.ru>2022-02-10 16:46:34 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:34 +0300
commitad94e93a059747f4fc3d7add88d1a83daf40b733 (patch)
tree731d57e580bd143e1136e7747f13b26e6bac95d0 /library/cpp/regex
parent298c6da79f1d8f35089a67f463f0b541bec36d9b (diff)
downloadydb-ad94e93a059747f4fc3d7add88d1a83daf40b733.tar.gz
Restoring authorship annotation for <vvvv@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/regex')
-rw-r--r--library/cpp/regex/pire/regexp.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/library/cpp/regex/pire/regexp.h b/library/cpp/regex/pire/regexp.h
index 94bba4064b..60f449b9af 100644
--- a/library/cpp/regex/pire/regexp.h
+++ b/library/cpp/regex/pire/regexp.h
@@ -4,7 +4,7 @@
#include <library/cpp/charset/doccodes.h>
#include <library/cpp/charset/recyr.hh>
-#include <util/generic/maybe.h>
+#include <util/generic/maybe.h>
#include <util/generic/strbuf.h>
#include <util/generic/string.h>
#include <util/generic/vector.h>
@@ -42,7 +42,7 @@ namespace NRegExp {
bool CaseInsensitive = false;
bool Surround = false;
- TMaybe<size_t> CapturePos;
+ TMaybe<size_t> CapturePos;
ECharset Charset = CODES_UNKNOWN;
bool AndNotSupport = false;
};
@@ -70,8 +70,8 @@ namespace NRegExp {
lexer.AddFeature(NPire::NFeatures::CaseInsensitive());
}
- if (opts.CapturePos) {
- lexer.AddFeature(NPire::NFeatures::Capture(*opts.CapturePos));
+ if (opts.CapturePos) {
+ lexer.AddFeature(NPire::NFeatures::Capture(*opts.CapturePos));
}
if (opts.AndNotSupport) {