Make yaml regexp match on Ruby 2.0