Skip to content

Commit

Permalink
tests: add regression test for #659
Browse files Browse the repository at this point in the history
  • Loading branch information
BurntSushi committed May 28, 2020
1 parent f98eea5 commit 9cc79b1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions tests/regression.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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));

0 comments on commit 9cc79b1

Please sign in to comment.