Fix regexp path