Regular expression of DayOfWeek works now, but not pass rubocop