aboutsummaryrefslogtreecommitdiffstats
path: root/library/cpp/regex/pire/ut/regexp_ut.cpp
diff options
context:
space:
mode:
authordiver <diver@yandex-team.ru>2022-02-10 16:48:07 +0300
committerDaniil Cherednik <dcherednik@yandex-team.ru>2022-02-10 16:48:07 +0300
commite20e2b362f0232ed5a389db887e6e27e7763af18 (patch)
treeb222e5ac2e2e98872661c51ccceee5da0d291e13 /library/cpp/regex/pire/ut/regexp_ut.cpp
parent7629e1f9ef7f9d2a3c345c97e6a4e5a4b32ee786 (diff)
downloadydb-e20e2b362f0232ed5a389db887e6e27e7763af18.tar.gz
Restoring authorship annotation for <diver@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/regex/pire/ut/regexp_ut.cpp')
-rw-r--r--library/cpp/regex/pire/ut/regexp_ut.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/library/cpp/regex/pire/ut/regexp_ut.cpp b/library/cpp/regex/pire/ut/regexp_ut.cpp
index 651e986cef..e7206de9ad 100644
--- a/library/cpp/regex/pire/ut/regexp_ut.cpp
+++ b/library/cpp/regex/pire/ut/regexp_ut.cpp
@@ -141,21 +141,21 @@ Y_UNIT_TEST_SUITE(TRegExp) {
}
Y_UNIT_TEST(Capture6) {
- TCapturingFsm fsm("(/to-match-with)");
- TSearcher searcher(fsm);
- searcher.Search("/some/table/path/to-match-with");
- UNIT_ASSERT(searcher.Captured());
+ TCapturingFsm fsm("(/to-match-with)");
+ TSearcher searcher(fsm);
+ searcher.Search("/some/table/path/to-match-with");
+ UNIT_ASSERT(searcher.Captured());
UNIT_ASSERT_VALUES_EQUAL(searcher.GetCaptured(), TStringBuf("/to-match-with"));
- }
-
+ }
+
Y_UNIT_TEST(Capture7) {
- TCapturingFsm fsm("(pref.*suff)");
- TSearcher searcher(fsm);
- searcher.Search("ala pref bla suff cla");
- UNIT_ASSERT(searcher.Captured());
+ TCapturingFsm fsm("(pref.*suff)");
+ TSearcher searcher(fsm);
+ searcher.Search("ala pref bla suff cla");
+ UNIT_ASSERT(searcher.Captured());
//UNIT_ASSERT_VALUES_EQUAL(searcher.GetCaptured(), TStringBuf("pref bla suff"));
- }
-
+ }
+
Y_UNIT_TEST(CaptureXA) {
TCapturingFsm fsm(".*(xa).*");