The \w character class does not include space, tab or newline. The \w character class is comprised of letters, numbers and '_' the underscore character.
Also, the \b word boundary does not match a character, it is a zero-width assertion, it matches between characters.
In reply to Re^2: grep - serach limited to complete word only
by jwkrahn
in thread grep - serach limited to complete word only
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |