A regexp isn't necessary for this; `String#gsub` handles strings just fine.  You can also use `String#tr`:

```ruby
sa.event == @sheet.event_type.downcase.tr(' ', '_')
```