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

Method handleMatch

markdown/inlinepatterns.py:304–306  ·  view source on GitHub ↗

Return string content of `group(2)` of a matching pattern.

(self, m: re.Match[str])

Source from the content-addressed store, hash-verified

302class SimpleTextPattern(Pattern): # pragma: no cover
303 """ Return a simple text of `group(2)` of a Pattern. """
304 def handleMatch(self, m: re.Match[str]) -> str:
305 """ Return string content of `group(2)` of a matching pattern. """
306 return m.group(2)
307
308
309class SimpleTextInlineProcessor(InlineProcessor):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected