forked from mirrors/gecko-dev
Differential Revision: https://phabricator.services.mozilla.com/D54616 --HG-- rename : third_party/rust/itoa/LICENSE-MIT => third_party/rust/ffi-support/LICENSE-MIT rename : third_party/rust/regex/src/literal/mod.rs => third_party/rust/regex/src/literal/imp.rs rename : third_party/rust/ryu/benchmark/benchmark.rs => third_party/rust/ryu/examples/upstream_benchmark.rs rename : third_party/rust/ryu/src/mulshift128.rs => third_party/rust/ryu/src/d2s_intrinsics.rs extra : moz-landing-system : lando
4 lines
206 B
Rust
4 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));
|