Yes, otherwise it will give high confidence warnings for things like `/#{something_benign(params[:x])}/`.

`has_immediate_user_input?` behaves differently, though. You will have to loop through the interpolated regex values. [Sexp#each_sexp](https://github.com/presidentbeef/brakeman/blob/master/lib/ruby_parser/bm_sexp.rb#L117) should be helpful.