diff options
| -rw-r--r-- | challenge-185/steven-wilson/python/ch-01.ipynb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/challenge-185/steven-wilson/python/ch-01.ipynb b/challenge-185/steven-wilson/python/ch-01.ipynb index 7cbfa28f3b..ea1d969399 100644 --- a/challenge-185/steven-wilson/python/ch-01.ipynb +++ b/challenge-185/steven-wilson/python/ch-01.ipynb @@ -98,7 +98,7 @@ ], "source": [ "def convert_mac(mac):\n", - " result = re.search(r'([a-z0-9]{2})([a-z0-9]{2})\\.([a-z0-9]{2})([a-z0-9]{2})\\.([a-z0-9]{2})([a-z0-9]{2})', mac)\n", + " result = re.search(r'([\\w]{2})([\\w]{2})\\.([\\w]{2})([\\w]{2})\\.([\\w]{2})([\\w]{2})', mac)\n", " return \":\".join(result.groups())\n", "\n", "print(convert_mac(ex1))" |
