Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/RustPython/RustPython
/ extract_flags
Function
extract_flags
crates/stdlib/src/re.rs:298–300 ·
view source on GitHub ↗
(flags: OptionalArg<usize>)
Source
from the content-addressed store, hash-verified
296
}
297
298
fn extract_flags(flags: OptionalArg<usize>) -> PyRegexFlags {
299
flags.map_or_else(Default::default, PyRegexFlags::from_int)
300
}
301
302
#[pyfunction]
303
fn compile(
Callers
6
match_
Function · 0.85
search
Function · 0.85
sub
Function · 0.85
findall
Function · 0.85
split
Function · 0.85
compile
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected