MCPcopy Create free account
hub / github.com/coooodeer/parse-rust / increment

Function increment

tests/test_python_api_integration.py:240–241  ·  view source on GitHub ↗
(text)

Source from the content-addressed store, hash-verified

238
239 @with_pattern(r"\d+")
240 def increment(text):
241 return int(text) + 1
242
243 searched = search("value={:Num}", "prefix value=14 suffix", extra_types={"Num": triple})
244 found = list(findall("{:Num}", "3 5 8", extra_types={"Num": increment}))

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected