Ask a question to get started
Enter to send•Shift+Enter new line
Regex pattern to match yaml code blocks within triple backticks with optional yaml or yml prefix.
pattern: re.Pattern = re.compile('^```(?:ya?ml)?(?P<yaml>[^`]*)', re.MULTILINE | re.DOTALL)