MCPcopy Create free account
hub / github.com/microsoft/debugpy / matching

Method matching

tests/patterns/_impl.py:62–66  ·  view source on GitHub ↗

Same pattern, but it only matches if re.match(regex, flags) produces a match that corresponds to the entire string.

(self, regex, flags=0)

Source from the content-addressed store, hash-verified

60 return SameAs(self, obj)
61
62 def matching(self, regex, flags=0):
63 """Same pattern, but it only matches if re.match(regex, flags) produces
64 a match that corresponds to the entire string.
65 """
66 return Matching(self, regex, flags)
67
68 # Used to obtain the JSON representation for logging. This is a hack, because
69 # JSON serialization doesn't allow to customize raw output - this function can

Callers 7

get_test_server_portFunction · 0.80
some.pyFile · 0.80
test_log_pointFunction · 0.80
test_exception.pyFile · 0.80
test_runFunction · 0.80
missing_propertyMethod · 0.80
test_matchingFunction · 0.80

Calls 1

MatchingClass · 0.85

Tested by 4

test_log_pointFunction · 0.64
test_runFunction · 0.64
missing_propertyMethod · 0.64
test_matchingFunction · 0.64