You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The current code that checks for misspelling verifies, in a more
complex regex, if $rawline matches [^\w]($misspellings)[^\w]
Being $rawline a byte-string, a utf-8 character in $rawline can
match the non-word-char [^\w].
E.g.:
./scripts/checkpatch.pl --git 81c2f05
WARNING: 'ment' may be misspelled - perhaps 'meant'?
torvalds#36: FILE: MAINTAINERS:14360:
+M: Clément Léger <[email protected]>
^^^^
Use a utf-8 version of $rawline for spell checking.
Change-Id: I8dcd93979cd1c39186c750e588038f4a1e374bf1
Signed-off-by: Antonio Borneo <[email protected]>
Reported-by: Clément Le Goffic <[email protected]>
Reviewed-on: https://gerrit.st.com/c/mpu/oe/st/linux-stm32/+/372873
Tested-by: Clement LE GOFFIC <[email protected]>
ACI: CIBUILD <[email protected]>
Reviewed-by: Clement LE GOFFIC <[email protected]>
Domain-Review: Amelie DELAUNAY <[email protected]>
0 commit comments