-
Notifications
You must be signed in to change notification settings - Fork 33
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add regex for matching MAC addresses, as well as convenience methods for checking if a string matches the regex, as well as a generic :is_ip? method to verify if something is either IPv4 or v6.
- Loading branch information
RageLtMan
committed
Jun 25, 2017
1 parent
4ebdb86
commit bdbdd27
Showing
1 changed file
with
17 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters