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:
parent
0dd8a9ba93
commit
ffb639bf96
@ -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));
|
||||
|
Loading…
Reference in New Issue
Block a user