Merge pull request #1070 from larsclausen/ivl_run-escape-char
run_ivl.py: Properly escape `.` in regex
This commit is contained in:
commit
192b6aec96
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue