diff options
-rwxr-xr-x | host/lib/ic_reg_maps/common.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/host/lib/ic_reg_maps/common.py b/host/lib/ic_reg_maps/common.py index c0f73fc8a..b62cc6e83 100755 --- a/host/lib/ic_reg_maps/common.py +++ b/host/lib/ic_reg_maps/common.py @@ -376,7 +376,7 @@ class mreg: raise Exception('Error parsing meta register description: "%s"\nWhat: %s'%(mreg_des, e)) def parse(self, mreg_des, regs): - x = re.match('^~(\w*)\s+(.*)\s*$', mreg_des) + x = re.match(r'^~(\w*)\s+(.*)\s*$', mreg_des) self._name, reg_names = x.groups() regs_dict = dict([(reg.get_name(), reg) for reg in regs]) self._regs = [regs_dict[reg_name.strip()] for reg_name in reg_names.split(',')] |