title: RSpec: Match an array of strings by regex
body: <p>I am testing validation of my models with rspec and am expecting an error message. However, the exact text of the message is likely to change, so I want to be a bit more forgiving and only check for a partial message. </p>
  
  <p>Since the Spec::Matchers::include method only works for strings and collections, I'm currently using this construct:</p>
  
  <pre><code>@user.errors[:password].any?{|m|m.match(/is too short/)}.should be_true
  </code></pre>
  
  <p>This works but seems a bit cumbersome to me. Is there a better (i.e., faster or more ruby-like) way to check an array for the inclusion of a string by regex, or perhaps an rspec matcher that does just this?</p>