@lydell basically it tests whether the pattern is a word (starts or ends with alphabets). If it is a word, will add the word boundary `\b` around the word. For instance, to prevent matching link `previously` to `previous`.