\b metacharacter in regex

The metacharacter \b is an anchor like the caret (^) and the dollar sign ($). It matches at a position that is called a "word boundary". This match is zero-length.

The below example will match the words starting with deb (debian, debug etc.):

grep '\bdeb' -r /etc/