diff options
author | almaslov <almaslov@yandex-team.ru> | 2022-02-10 16:47:35 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:35 +0300 |
commit | 21a65387eb2dc61703469a17ee6b27ef09095ae6 (patch) | |
tree | c0748b5dcbade83af788c0abfa89c0383d6b779c /library/cpp/uri/encodefsm.rl6 | |
parent | e95333de1601929cf26176ba4dfb31ea11a9d8e6 (diff) | |
download | ydb-21a65387eb2dc61703469a17ee6b27ef09095ae6.tar.gz |
Restoring authorship annotation for <almaslov@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'library/cpp/uri/encodefsm.rl6')
-rw-r--r-- | library/cpp/uri/encodefsm.rl6 | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/library/cpp/uri/encodefsm.rl6 b/library/cpp/uri/encodefsm.rl6 index c28f6daed5..6a323aa85a 100644 --- a/library/cpp/uri/encodefsm.rl6 +++ b/library/cpp/uri/encodefsm.rl6 @@ -20,16 +20,16 @@ namespace NEncode { > { HexReset(); } % { DoHex(); }; - bad_escaped = ( "%" hex ) - % { - DoSym(*(fpc - 2)); - DoSym(*(fpc - 1)); - }; + bad_escaped = ( "%" hex ) + % { + DoSym(*(fpc - 2)); + DoSym(*(fpc - 1)); + }; - sym = (any - bad_escaped - escaped) %{ DoSym(*(fpc - 1)); }; + sym = (any - bad_escaped - escaped) %{ DoSym(*(fpc - 1)); }; + + main := ( escaped | bad_escaped | sym )**; - main := ( escaped | bad_escaped | sym )**; - write data; }%% |