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

Method handleMatch

markdown/inlinepatterns.py:305–307  ·  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

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected