Having trouble looping through an array of Regular Expressions in a Rake task

I get the error:

undefined method `all?' for /Genesis/:Regexp

I'm not sure what this error means, and I haven't had much luck on Google...

Looks like you're calling links_with incorrectly - looks like links_with is expecting a hash (eg :title => some_regex, :href => some_other_regex ) rather than just a bare regular expression

Fred