Maybe the Documentation should be updated or simply add this string/command as another solution if the first one in the documentation don't works.
I also found out that the command of the documentation only works when placing the symbol "-" in front of every other symbol after the "[" otherwise grep gives a error because the "-" symbol means range.
But the range
_-"
is invalid.
so the correct command should be:
make V=s 2>&1 | tee build.log | grep -i '[-^_"a-z]error[-^_.a-z]'
and not
make V=s 2>&1 | tee build.log | grep -i '[^_-"a-z]error[^_-.a-z]'