Regex: add unit test for #1693
This commit is contained in:
parent
0dd8a9ba93
commit
ffb639bf96
|
@ -1388,6 +1388,11 @@ auto test_regex = UnitTest{[]{
|
||||||
kak_assert(vm.exec("abcde"));
|
kak_assert(vm.exec("abcde"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
TestVM<> vm{R"((?i)[a-c]+)"};
|
||||||
|
kak_assert(vm.exec("bCa"));
|
||||||
|
}
|
||||||
|
|
||||||
{
|
{
|
||||||
TestVM<> vm{R"(д)"};
|
TestVM<> vm{R"(д)"};
|
||||||
kak_assert(vm.exec("д", RegexExecFlags::Search));
|
kak_assert(vm.exec("д", RegexExecFlags::Search));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user