Skip to content

Commit

Permalink
Fix regular expression
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobtomlinson committed Jul 10, 2023
1 parent 6462e8b commit 34e0f5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extensions/rapids_notebook_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def walk_files(app, dir, outdir):
with open(str(outdir / page.name), "w") as writer:
writer.write(
re.sub(
r"\{\{.*?\}\}",
r"(?<!\$)\{\{.*?\}\}",
partial(template_func, app),
notebook,
)
Expand Down

0 comments on commit 34e0f5c

Please sign in to comment.