diff options
Diffstat (limited to 'netaddr/strategy/eui48.py')
-rw-r--r-- | netaddr/strategy/eui48.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/netaddr/strategy/eui48.py b/netaddr/strategy/eui48.py index b3411fe..209c950 100644 --- a/netaddr/strategy/eui48.py +++ b/netaddr/strategy/eui48.py @@ -120,7 +120,7 @@ RE_MAC_FORMATS = ( # 4 bytes x 3 (Cisco) '^' + ':'.join(['([0-9A-F]{1,4})'] * 3) + '$', '^' + '-'.join(['([0-9A-F]{1,4})'] * 3) + '$', - '^' + '\.'.join(['([0-9A-F]{1,4})'] * 3) + '$', + '^' + r'\.'.join(['([0-9A-F]{1,4})'] * 3) + '$', # 6 bytes x 2 (PostgreSQL) '^' + '-'.join(['([0-9A-F]{5,6})'] * 2) + '$', |