make file regex working in linux again