aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/regex
diff options
context:
space:
mode:
authorvvvv <vvvv@yandex-team.ru>2022-02-10 16:46:37 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:46:37 +0300
commita693106aae8a3a3c7236a4ae953058a9611d7a92 (patch)
tree49e222ea1c5804306084bb3ae065bb702625360f /library/cpp/regex
parentad94e93a059747f4fc3d7add88d1a83daf40b733 (diff)
downloadydb-a693106aae8a3a3c7236a4ae953058a9611d7a92.tar.gz
Restoring authorship annotation for <vvvv@yandex-team.ru>. Commit 2 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 60f449b9af..94bba4064b 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) {