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

Method getCompiledRegExp

markdown/inlinepatterns.py:243–245  ·  view source on GitHub ↗

Return a compiled regular expression.

(self)

Source from the content-addressed store, hash-verified

241 self.md = md
242
243 def getCompiledRegExp(self) -> re.Pattern:
244 """ Return a compiled regular expression. """
245 return self.compiled_re
246
247 def handleMatch(self, m: re.Match[str]) -> etree.Element | str:
248 """Return a ElementTree element from the given match.

Callers 1

__applyPatternMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected