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

Method __init__

tests/patterns/_impl.py:358–362  ·  view source on GitHub ↗
(self, pattern, regex, flags=0)

Source from the content-addressed store, hash-verified

356 """Matches any string that matches the specified regular expression."""
357
358 def __init__(self, pattern, regex, flags=0):
359 assert isinstance(regex, bytes) or isinstance(regex, str)
360 super().__init__(pattern)
361 self.regex = regex
362 self.flags = flags
363
364 def __repr__(self):
365 s = repr(self.regex)

Callers

nothing calls this directly

Calls 1

__init__Method · 0.45

Tested by

no test coverage detected