MCPcopy Index your code
hub / github.com/RustPython/RustPython / test_possessive_quantifier

Function test_possessive_quantifier

crates/sre_engine/tests/tests.rs:139–146  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

137
138#[test]
139fn test_possessive_quantifier() {
140 // pattern p = re.compile('e++a')
141 // START GENERATED by generate_tests.py
142 #[rustfmt::skip] let p = Pattern { pattern: "e++a", code: &[14, 4, 0, 2, 4294967295, 29, 6, 1, 4294967295, 16, 101, 1, 16, 97, 1] };
143 // END GENERATED
144 let (req, mut state) = p.state("eeea");
145 assert!(state.py_match(&req));
146}
147
148#[test]
149fn test_possessive_repeat_fullmatch() {

Callers

nothing calls this directly

Calls 1

stateMethod · 0.45

Tested by

no test coverage detected