Anchored the end of the regex matching the feature paths