Test, validate and match regular expressions
Matches text enclosed by backticks, including both inline code spans (e.g., `code`) and fenced code blocks (e.g., ```lang ... ```). The pattern captures the opening backtick sequence, the content in a non-greedy manner, and the closing backtick sequence, making it ideal for parsing Markdown or similar lightweight markup where code sections need to be identified. With the global and multiline flags, it can find all occurrences across multiple lines.