Skip to content

Commit 9cc79b1

Browse files
committed
tests: add regression test for #659
1 parent f98eea5 commit 9cc79b1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/regression.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,3 +210,10 @@ matiter!(
210210
(4, 7),
211211
(12, 15)
212212
);
213+
214+
// See: https://github.com/rust-lang/regex/issues/659
215+
//
216+
// Note that 'Ј' is not 'j', but cyrillic Je
217+
// https://en.wikipedia.org/wiki/Je_(Cyrillic)
218+
ismatch!(empty_group_match, r"()Ј01", "zЈ01", true);
219+
matiter!(empty_group_find, r"()Ј01", "zЈ01", (1, 5));

0 commit comments

Comments
 (0)