Fixing unescaped characters in regex matching mac-address