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

Class Match

crates/vm/src/stdlib/_sre.rs:602–609  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

600 #[pyclass(module = "re", name = "Match")]
601 #[derive(Debug, PyPayload)]
602 pub(crate) struct Match {
603 string: PyObjectRef,
604 pattern: PyRef<Pattern>,
605 pos: usize,
606 endpos: usize,
607 lastindex: isize,
608 regs: Vec<(isize, isize)>,
609 }
610
611 #[pyclass(with(AsMapping, Representable))]
612 impl Match {

Callers 2

find_longest_matchMethod · 0.85
ast_from_objectMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected