You mean something like:

```ruby
all_comments_regex = /#{comments.map {|c| "(#{c})" }.join("|")}/
string = string.gsub(all_comments_regex, EMPTY)
```

right? This feels pretty weird, and also requires firing up the regex engine. `gsub("(#{comment})", EMPTY)` does not require firing up the regex engine as of [Bug 9680](https://bugs.ruby-lang.org/issues/9680) (Ruby 2.2 I guess...) which is a nice performance boost. What do you think?