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

Method getCompiledRegExp

markdown/inlinepatterns.py:214–216  ·  view source on GitHub ↗

Return a compiled regular expression.

(self)

Source from the content-addressed store, hash-verified

212 self.md = md
213
214 def getCompiledRegExp(self) -> re.Pattern:
215 """ Return a compiled regular expression. """
216 return self.compiled_re
217
218 def handleMatch(self, m: re.Match[str]) -> etree.Element | str:
219 """Return a ElementTree element from the given match.

Callers 1

__applyPatternMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected