fix form attachment regex