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));