Skip to content

Commit

Permalink
fix: Generating .regex.txt files ( Fixes #235, Fixes #236 )
Browse files Browse the repository at this point in the history
  • Loading branch information
James Brundage authored and James Brundage committed Sep 22, 2024
1 parent a685310 commit d7e3602
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion RegEx/Network/MACAddress.regex.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
# Matches a MAC address
(?<OUI>(?:(?<Octect>[0-9a-f]{2})\-){3,3})(?<NIC>(?:(?<Octect>[0-9a-f]{2})\-){2,2}(?<Octect>[0-9a-f]{2}))
(?<OUI>(?:(?<Octect>[0-9a-f]{2})\-){3,3}) # A MAC consists of 3 octects of Organizationally Unique Identifiers
(?<NIC>(?:(?<Octect>[0-9a-f]{2})\-){2,2}(?<Octect>[0-9a-f]{2})) # Followed by 3 octects of Network Interface Controller Specific Identifiers

0 comments on commit d7e3602

Please sign in to comment.