Skip to content

Commit

Permalink
Update util/crs-rules-check/rules-check.py
Browse files Browse the repository at this point in the history
Co-authored-by: Max Leske <[email protected]>
  • Loading branch information
airween and theseion authored Aug 7, 2024
1 parent 226e322 commit a251c5f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/crs-rules-check/rules-check.py
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ def check_tx_variable(self, fname):
for v in val_act + val_act_arg:
v = v.lower().replace("tx.", "")
# check whether the variable is a captured var, eg TX.1 - we do not care that case
if not re.match("^\\d$", v, re.I):
if not re.match(r"^\d$", v, re.I):
# v holds the tx.ANY variable, but not the captured ones
# we should collect these variables
if (v not in self.globtxvars or phase < self.globtxvars[v]['phase']):
Expand Down

0 comments on commit a251c5f

Please sign in to comment.