kucaahbe/rspec-html-matchers — pull request #27 by iancanderson (2014-01-10 16:51:48+00:00)
Title: options for have_tag should also support Regexp

For backwards compatibility with RSpec 1.x, have_tag should also allow Regexp as the second parameter.
e.g.
```ruby
"

Title

".should have_tag("h1", /itl/)
```
See http://old.rspec.info/rails/writing/views.html