Excluding prefix from matching