regex accept - and _ in filenames