Relaxed regexp used by split_filename.