Skip to content

Commit 192b6ae

Browse files
authored
Merge pull request #1070 from larsclausen/ivl_run-escape-char
run_ivl.py: Properly escape `.` in regex
2 parents 8f1fcc9 + c93e833 commit 192b6ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ivtest/run_ivl.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ def get_ivl_version () -> list:
3333

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

0 commit comments

Comments
 (0)