Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
run_ivl.py: Properly escape
.
in regex
To escape the `.` in the regex it needs to be prefixed with a `\`. But since the `\` is a escape character in python strings it needs to be escaped as well. Without this some versions of python print the following warning: run_ivl.py:36: SyntaxWarning: invalid escape sequence '\.' match= re.search(b'Icarus Verilog version ([0-9]+)\.([0-9]+)', text) Signed-off-by: Lars-Peter Clausen <[email protected]>
- Loading branch information