## Lesson — Regex patterns designed to protect code blocks must include

**Tags:** markdown, regex, parsing

Regex patterns designed to protect code blocks must include tilde fences (`~~~`) alongside standard backticks (```). Overlooking tilde fences leads to the accidental transformation of code content that the developer intended to preserve.
