Merge pull request #1070 from larsclausen/ivl_run-escape-char

run_ivl.py: Properly escape `.` in regex
This commit is contained in:
Stephen Williams 2024-01-19 18:25:46 -08:00 committed by GitHub
commit 192b6aec96
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -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