MapList::only_passing_through_source

fn only_passing_through_source( self: MapList, regex: String ) -> MapList

Returns a new MapList with only the maps whose backtrace contains a frame which passes through a source file which matches a given regex.

The flavor of regexps used here is the same as Rust's regex crate.