Mend the dir name on the regex