diff options
author | karina-usm <karina-usm@yandex-team.ru> | 2022-02-10 16:48:05 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:48:05 +0300 |
commit | 62517661cde7aa7c93efe0281ec48eeb70ea420c (patch) | |
tree | 066f34bb401d85fa43842442fb0d888ffb2a305f /library/cpp | |
parent | 5f8a2ce7b1dc3b3e1fae197610f189e7ed1d5723 (diff) | |
download | ydb-62517661cde7aa7c93efe0281ec48eeb70ea420c.tar.gz |
Restoring authorship annotation for <karina-usm@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'library/cpp')
-rw-r--r-- | library/cpp/regex/pire/ut/regexp_ut.cpp | 10 | ||||
-rw-r--r-- | library/cpp/regex/pire/ut/ya.make | 4 | ||||
-rw-r--r-- | library/cpp/regex/pire/ya.make | 4 |
3 files changed, 9 insertions, 9 deletions
diff --git a/library/cpp/regex/pire/ut/regexp_ut.cpp b/library/cpp/regex/pire/ut/regexp_ut.cpp index e7206de9ad..fd7ac68a2c 100644 --- a/library/cpp/regex/pire/ut/regexp_ut.cpp +++ b/library/cpp/regex/pire/ut/regexp_ut.cpp @@ -37,11 +37,11 @@ Y_UNIT_TEST_SUITE(TRegExp) { UNIT_ASSERT(!TMatcher(TFsm("qw", TFsm::TOptions().SetCaseInsensitive(false))).Match("Qw").Final()); } - Y_UNIT_TEST(UnicodeCase) { - UNIT_ASSERT(TMatcher(TFsm("\\x{61}\\x{62}", TFsm::TOptions().SetCaseInsensitive(true))).Match("Ab").Final()); - UNIT_ASSERT(!TMatcher(TFsm("\\x{61}\\x{62}", TFsm::TOptions().SetCaseInsensitive(false))).Match("Ab").Final()); - } - + Y_UNIT_TEST(UnicodeCase) { + UNIT_ASSERT(TMatcher(TFsm("\\x{61}\\x{62}", TFsm::TOptions().SetCaseInsensitive(true))).Match("Ab").Final()); + UNIT_ASSERT(!TMatcher(TFsm("\\x{61}\\x{62}", TFsm::TOptions().SetCaseInsensitive(false))).Match("Ab").Final()); + } + Y_UNIT_TEST(Utf) { NRegExp::TFsmBase::TOptions opts; opts.Charset = CODES_UTF8; diff --git a/library/cpp/regex/pire/ut/ya.make b/library/cpp/regex/pire/ut/ya.make index 8776695f40..bf06841586 100644 --- a/library/cpp/regex/pire/ut/ya.make +++ b/library/cpp/regex/pire/ut/ya.make @@ -30,9 +30,9 @@ SRCS( count_ut.cpp glyph_ut.cpp easy_ut.cpp - read_unicode_ut.cpp + read_unicode_ut.cpp regexp_ut.cpp - approx_matching_ut.cpp + approx_matching_ut.cpp ) SIZE(MEDIUM) diff --git a/library/cpp/regex/pire/ya.make b/library/cpp/regex/pire/ya.make index c857e6d18b..88afde3c61 100644 --- a/library/cpp/regex/pire/ya.make +++ b/library/cpp/regex/pire/ya.make @@ -24,9 +24,9 @@ SRCS( extra/glyphs.cpp re_lexer.cpp re_parser.y - read_unicode.cpp + read_unicode.cpp extraencodings.cpp - approx_matching.cpp + approx_matching.cpp half_final_fsm.cpp minimize.h ) |