1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-12-01 08:23:05 +03:00

Regex: add unit test for #1693

This commit is contained in:
Maxime Coste 2017-11-13 01:12:05 +08:00
parent 0dd8a9ba93
commit ffb639bf96

View File

@ -1388,6 +1388,11 @@ auto test_regex = UnitTest{[]{
kak_assert(vm.exec("abcde"));
}
{
TestVM<> vm{R"((?i)[a-c]+)"};
kak_assert(vm.exec("bCa"));
}
{
TestVM<> vm{R"(д)"};
kak_assert(vm.exec("д", RegexExecFlags::Search));