Now we know where sudo reports

Now we know where sudo reports its incidents
Now we know where sudo reports its incidents
Advertisements

A regular expression to match MAC Addresses

Write a regular expression to match a MAC address. Go.

Take 1: ([0-9a-f]{2}:){5}[0-9a-f]{2}
Matches: 00:19:db:d0:8e:3c

Take 2: ([0-9a-fA-F]{1,2}[:-]){5}[0-9a-fA-F]{1,2}
Matches: 00-c-DB-a0-8E-f