Use Ruby regexp in exclude_from_upload check