misspell icon indicating copy to clipboard operation
misspell copied to clipboard

False negative: adresář as adres a misspelling of address

Open mattfarina opened this issue 9 years ago • 3 comments

Found while using gometalinter (which uses misspell).

The line of go code being read is:

strings.HasPrefix(msg, fmt.Sprintf("Nadřazený adresář %s neexistuje.", s.LocalPath())) ||

It's obviously not in english but it took part of a word rather than a full word.

mattfarina avatar Jan 05 '17 15:01 mattfarina

sorry I missed this... investigating.

client9 avatar Apr 13 '17 21:04 client9

$ echo "Nadřazený adresář " | misspell
stdin:1:12: "adres" is a misspelling of "address"

client9 avatar May 27 '17 19:05 client9

Same happens with german umlauts:

$ echo "Nationalität" | misspell
stdin:1:0: "Nationalit" is a misspelling of "Nationalist"

So it seems something stops reading words on non-ascii chars…

Luzifer avatar Sep 20 '18 11:09 Luzifer