Skip to content

Commit

Permalink
Fix generate component regex escape sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
jmackay2 authored and bkueng committed Nov 19, 2024
1 parent 5f57b23 commit 5b66a1e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
version_dir = ''
if version_file is not None:
for line in open(version_file, "r"):
version_search = re.search('PX4_GIT_TAG_OR_BRANCH_NAME\s+"(.+)"', line)
version_search = re.search(r'PX4_GIT_TAG_OR_BRANCH_NAME\s+"(.+)"', line)
if version_search:
version_dir = version_search.group(1)
break
Expand Down

0 comments on commit 5b66a1e

Please sign in to comment.