Use always the same regexp for paths