typos icon indicating copy to clipboard operation
typos copied to clipboard

False positive: MAC addresses

Open ambroisie opened this issue 1 year ago • 3 comments

The following MAC address: F7:78:BA:76:52:F7 gets erroneously flagged as a typo for its middle BA string.

ambroisie avatar Sep 27 '24 14:09 ambroisie

For me, the question is whether MAC addresses in code / comments is common enough to have built-in detection support or if thats better left to defining a regex to match it in your config

epage avatar Sep 27 '24 14:09 epage

I wouldn't mind being able to filter out any word shorter than 2 chars

jvacek avatar Oct 21 '24 15:10 jvacek

Maybe ignore all two char words with a proceeding colon :.

TimTheBig avatar Dec 13 '24 15:12 TimTheBig

For me, the question is whether MAC addresses in code / comments is common enough to have built-in detection support or if thats better left to defining a regex to match it in your config

It's really common for me as a Network Automation Engineer - additionally any IaC it would be in frequently.

rifen avatar Jul 09 '25 15:07 rifen