grep: fix word-regexp at the beginning of lines