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

Function test_named

tests/test_pattern.py:21–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

19
20
21def test_named():
22 # pull a named string out of another string
23 _test_expression("{name}", r"(?P<name>.+?)")
24 _test_expression("{name} {other}", r"(?P<name>.+?) (?P<other>.+?)")
25
26
27def test_named_typed():

Callers

nothing calls this directly

Calls 1

_test_expressionFunction · 0.85

Tested by

no test coverage detected