MCPcopy Create free account
hub / github.com/executablebooks/markdown-it-py / _default_terminator_re

Function _default_terminator_re

markdown_it/parser_inline.py:57–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

55# instances that have not added extra chars, keeping __init__ cost near zero.
56@functools.cache
57def _default_terminator_re() -> re.Pattern[str]:
58 return re.compile("[" + re.escape("".join(_DEFAULT_TERMINATORS)) + "]")
59
60
61# Parser rules

Callers 1

__init__Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…