diff options
| author | kerzum <[email protected]> | 2022-02-10 16:49:33 +0300 | 
|---|---|---|
| committer | Daniil Cherednik <[email protected]> | 2022-02-10 16:49:33 +0300 | 
| commit | 9a7232babfd763ccfe827bc70e82e0f50cfd8276 (patch) | |
| tree | a39808b7482c4711a80f799a7281adb36d76a13a /library/cpp/regex/pire | |
| parent | 0e68ae909d3b76a5a001a07880eb0010dec6b2ea (diff) | |
Restoring authorship annotation for <[email protected]>. Commit 1 of 2.
Diffstat (limited to 'library/cpp/regex/pire')
| -rw-r--r-- | library/cpp/regex/pire/inline/ya.make | 2 | ||||
| -rw-r--r-- | library/cpp/regex/pire/pire.h | 2 | ||||
| -rw-r--r-- | library/cpp/regex/pire/ut/regexp_ut.cpp | 12 | ||||
| -rw-r--r-- | library/cpp/regex/pire/ut/ya.make | 6 | ||||
| -rw-r--r-- | library/cpp/regex/pire/ya.make | 2 | 
5 files changed, 12 insertions, 12 deletions
| diff --git a/library/cpp/regex/pire/inline/ya.make b/library/cpp/regex/pire/inline/ya.make index d4850f7b457..7301e4590ad 100644 --- a/library/cpp/regex/pire/inline/ya.make +++ b/library/cpp/regex/pire/inline/ya.make @@ -16,7 +16,7 @@ SRCDIR(  )  SRCS( -    inline.l +    inline.l   )  END() diff --git a/library/cpp/regex/pire/pire.h b/library/cpp/regex/pire/pire.h index 286fecd6930..3e18b41a39b 100644 --- a/library/cpp/regex/pire/pire.h +++ b/library/cpp/regex/pire/pire.h @@ -67,7 +67,7 @@ namespace NPire {          const NPire::TEncoding& Koi8r();          const NPire::TEncoding& Cp1251(); -        const NPire::TEncoding& Get(ECharset encoding); +        const NPire::TEncoding& Get(ECharset encoding);       }      namespace NTokenTypes { diff --git a/library/cpp/regex/pire/ut/regexp_ut.cpp b/library/cpp/regex/pire/ut/regexp_ut.cpp index e7206de9ad4..4cd650d0c7e 100644 --- a/library/cpp/regex/pire/ut/regexp_ut.cpp +++ b/library/cpp/regex/pire/ut/regexp_ut.cpp @@ -133,13 +133,13 @@ Y_UNIT_TEST_SUITE(TRegExp) {      }      Y_UNIT_TEST(Capture5) { -        TCapturingFsm fsm("away\\.php\\?to=http:([^\"])+\""); -        TSearcher searcher(fsm); -        searcher.Search("\"/away.php?to=http:some.addr\"&id=1"); -        UNIT_ASSERT(searcher.Captured()); +        TCapturingFsm fsm("away\\.php\\?to=http:([^\"])+\"");  +        TSearcher searcher(fsm);  +        searcher.Search("\"/away.php?to=http:some.addr\"&id=1");  +        UNIT_ASSERT(searcher.Captured());           //UNIT_ASSERT_VALUES_EQUAL(searcher.GetCaptured(), TStringBuf("some.addr")); -    } - +    }  +       Y_UNIT_TEST(Capture6) {          TCapturingFsm fsm("(/to-match-with)");          TSearcher searcher(fsm); diff --git a/library/cpp/regex/pire/ut/ya.make b/library/cpp/regex/pire/ut/ya.make index 8776695f405..d829288432d 100644 --- a/library/cpp/regex/pire/ut/ya.make +++ b/library/cpp/regex/pire/ut/ya.make @@ -1,5 +1,5 @@  # this test in not linked into build tree with ReCURSE and is built by unittest/library - +   UNITTEST()  OWNER( @@ -11,9 +11,9 @@ SET(PIRETESTSDIR contrib/libs/pire/ut)  CFLAGS(-DPIRE_NO_CONFIG) -PEERDIR( +PEERDIR(       library/cpp/regex/pire -) +)   SRCDIR(      ${PIRETESTSDIR} diff --git a/library/cpp/regex/pire/ya.make b/library/cpp/regex/pire/ya.make index c857e6d18bc..187aaf6904c 100644 --- a/library/cpp/regex/pire/ya.make +++ b/library/cpp/regex/pire/ya.make @@ -23,7 +23,7 @@ SRCS(      extra/count.cpp      extra/glyphs.cpp      re_lexer.cpp -    re_parser.y +    re_parser.y       read_unicode.cpp      extraencodings.cpp      approx_matching.cpp | 
