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

Function parse_number

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

Source from the content-addressed store, hash-verified

202
203 @with_pattern(r"\d+")
204 def parse_number(text):
205 return int(text)
206
207 parser = compile("test {:Unit}-{:Number}", extra_types={"Unit": parse_unit, "Number": parse_number})
208

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected