MCPcopy Create free account
hub / github.com/davidblewett/rure-python / cmd_anchors

Function cmd_anchors

regex/regex-debug/src/main.rs:175–184  ·  view source on GitHub ↗
(args: &Args)

Source from the content-addressed store, hash-verified

173}
174
175fn cmd_anchors(args: &Args) -> Result<()> {
176 let expr = args.parse_one()?;
177 if expr.is_anchored_start() {
178 println!("start");
179 }
180 if expr.is_anchored_end() {
181 println!("end");
182 }
183 Ok(())
184}
185
186fn cmd_captures(args: &Args) -> Result<()> {
187 let expr = args.parse_one()?;

Callers 1

runFunction · 0.85

Calls 3

parse_oneMethod · 0.80
is_anchored_startMethod · 0.80
is_anchored_endMethod · 0.80

Tested by

no test coverage detected