MCPcopy Create free account
hub / github.com/Python-Markdown/markdown / get_match

Method get_match

markdown/inlinepatterns.py:825–832  ·  view source on GitHub ↗

Get match.

(self, data: str, start: int)

Source from the content-addressed store, hash-verified

823 return (opener + closer) % 3 == 0 and (opener % 3 != 0 or closer % 3 != 0)
824
825 def get_match(self, data: str, start: int) -> re.Match[str] | None:
826 """Get match."""
827
828 for d in self.delimiters.values():
829 m = d.boundary.match(data, start)
830 if m is not None:
831 return m
832 return None
833
834 def search(self, data: str, start: int) -> re.Match[str] | None:
835 """Search."""

Callers 1

handleMatchMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected