Use raw literals for regex patterns
@@ -7,7 +7,7 @@ from bleak.backends.bluezdbus import defs
from bleak.exc import BleakError
_mac_address_regex = re.compile("^([0-9A-Fa-f]{2}[:-]){5}([0-9A-Fa-f]{2})$")
-_hci_device_regex = re.compile("^hci(\d+)$")
+_hci_device_regex = re.compile("^hci(\\d+)$")
def validate_mac_address(address):
