tests: add regression test for #659

This commit is contained in:
Andrew Gallant 2020-05-28 11:08:32 -04:00
parent f98eea5d9e
commit 9cc79b1915
No known key found for this signature in database
GPG Key ID: B2E3A4923F8B0D44

View File

@ -210,3 +210,10 @@ matiter!(
(4, 7),
(12, 15)
);
// See: https://github.com/rust-lang/regex/issues/659
//
// Note that 'Ј' is not 'j', but cyrillic Je
// https://en.wikipedia.org/wiki/Je_(Cyrillic)
ismatch!(empty_group_match, r"()Ј01", "zЈ01", true);
matiter!(empty_group_find, r"()Ј01", "zЈ01", (1, 5));