projects
/
pyutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
85e7925
)
More cleanup.
author
Scott Gasch
<
[email protected]
>
Wed, 1 Mar 2023 05:08:28 +0000
(21:08 -0800)
committer
Scott Gasch
<
[email protected]
>
Wed, 1 Mar 2023 05:08:28 +0000
(21:08 -0800)
src/pyutils/string_utils.py
patch
|
blob
|
history
diff --git
a/src/pyutils/string_utils.py
b/src/pyutils/string_utils.py
index a990275541601a3c25378237aac3a271447729ae..a50347241845b4831deda165ceda7267f13642b7 100644
(file)
--- a/
src/pyutils/string_utils.py
+++ b/
src/pyutils/string_utils.py
@@
-1196,6
+1196,7
@@
def extract_mac_address(in_str: Any, *, separator: str = ":") -> Optional[str]:
"""
Args:
in_str: the string from which to extract a MAC address.
+ separator: the MAC address hex byte separator to use.
Returns:
The first MAC address found in in_str or None to indicate no