Consider word boundaries when performing matching