Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
regex double escape backslash
Browse files Browse the repository at this point in the history
  • Loading branch information
Brian Marco committed Nov 20, 2023
1 parent 5b92214 commit 4f29146
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion boa/cli/convert.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def main(docname):
result_yaml = CommentedMap()
result_yaml["context"] = context

selector_re = re.compile("( *)(-?)(.*)# \[(.*)\]")
selector_re = re.compile("( *)(-?)(.*)# \\[(.*)\\]")

selector_lines = []
for line in rest_lines:
Expand Down

0 comments on commit 4f29146

Please sign in to comment.