Regex is anchored at the root. Path is not.