mirror of
https://github.com/home-assistant/core.git
synced 2026-05-22 16:30:27 +01:00
d766aae436
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: frenck <195327+frenck@users.noreply.github.com>
14 lines
342 B
Python
14 lines
342 B
Python
"""Support for Actiontec MI424WR (Verizon FIOS) routers."""
|
|
|
|
import re
|
|
from typing import Final
|
|
|
|
# mypy: disallow-any-generics
|
|
|
|
LEASES_REGEX: Final[re.Pattern[str]] = re.compile(
|
|
r"(?P<ip>([0-9]{1,3}[\.]){3}[0-9]{1,3})"
|
|
r"\smac:\s(?P<mac>([0-9a-f]{2}[:-]){5}([0-9a-f]{2}))"
|
|
r"\svalid\sfor:\s(?P<timevalid>(-?\d+))"
|
|
r"\ssec"
|
|
)
|