mirror of
https://gitee.com/openharmony/third_party_rust_regex
synced 2025-04-07 04:32:01 +00:00

The Rust project determined these were unnecessary a while back[1,2,3]
and we follow suite.
[1] - 0565653eec
[2] - https://github.com/rust-lang/rust/pull/43498
[3] - https://github.com/rust-lang/rust/pull/57108
5 lines
206 B
Rust
5 lines
206 B
Rust
mat!(prefix_literal_match, r"^abc", r"abc", Some((0, 3)));
|
|
mat!(prefix_literal_nomatch, r"^abc", r"zabc", None);
|
|
mat!(one_literal_edge, r"abc", r"xxxxxab", None);
|
|
matiter!(terminates, r"a$", r"a", (0, 1));
|