summaryrefslogtreecommitdiff
path: root/src/regex_impl.cc
diff options
context:
space:
mode:
authorMaxime Coste <mawww@kakoune.org>2017-11-13 01:12:05 +0800
committerMaxime Coste <mawww@kakoune.org>2017-11-13 01:12:05 +0800
commitffb639bf965a667946c84883c19a58fdef787f2d (patch)
tree23a3df463dc3ec7f302629f7f9fb6801483ff54c /src/regex_impl.cc
parent0dd8a9ba93ab49761f727b234a2ba65a92b19289 (diff)
Regex: add unit test for #1693
Diffstat (limited to 'src/regex_impl.cc')
-rw-r--r--src/regex_impl.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/regex_impl.cc b/src/regex_impl.cc
index 2a992df9..729519a8 100644
--- a/src/regex_impl.cc
+++ b/src/regex_impl.cc
@@ -1389,6 +1389,11 @@ auto test_regex = UnitTest{[]{
}
{
+ TestVM<> vm{R"((?i)[a-c]+)"};
+ kak_assert(vm.exec("bCa"));
+ }
+
+ {
TestVM<> vm{R"(д)"};
kak_assert(vm.exec("д", RegexExecFlags::Search));
}