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

Function parse_unit

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

Source from the content-addressed store, hash-verified

198def test_regex_group_count_is_supported_for_custom_types():
199 @with_pattern(r"(meter|kilometer)", regex_group_count=1)
200 def parse_unit(text):
201 return text.strip()
202
203 @with_pattern(r"\d+")
204 def parse_number(text):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected