Skip to content

Commit

Permalink
Merge pull request #1070 from larsclausen/ivl_run-escape-char
Browse files Browse the repository at this point in the history
run_ivl.py: Properly escape `.` in regex
  • Loading branch information
steveicarus authored Jan 20, 2024
2 parents 8f1fcc9 + c93e833 commit 192b6ae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ivtest/run_ivl.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def get_ivl_version () -> list:

# Get the output from the "iverilog -V" command for the version string.
text = subprocess.check_output(["iverilog", "-V"])
match = re.search(b'Icarus Verilog version ([0-9]+)\.([0-9]+)', text)
match = re.search(b'Icarus Verilog version ([0-9]+)\\.([0-9]+)', text)
if not match:
return None

Expand Down

0 comments on commit 192b6ae

Please sign in to comment.