We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5e51ce8 + ac57ede commit bffe68cCopy full SHA for bffe68c
test/extract_snippets.py
@@ -12,7 +12,7 @@ def extract_tests(filepath):
12
filepath_short = os.path.basename(filepath)
13
article_name = filepath_short.split('.')[0]
14
15
- snippet_start = re.compile(r"^```\{.cpp\s+file=(\S+)\}$")
+ snippet_start = re.compile(r"^\s*```\{.cpp\s+file=(\S+)\}$")
16
snippet_end = re.compile(r"^```$")
17
18
with open(filepath) as f:
0 commit comments