mirror of
https://gitee.com/openharmony/third_party_rust_regex
synced 2025-04-14 00:20:48 +00:00
tests: add regression test for #659
This commit is contained in:
parent
f98eea5d9e
commit
9cc79b1915
@ -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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user