Non-greedy yaml extraction.  

Hi

I made a minor change to your library. Actually the real code change is just one character, but I added a test, and a fixture to illustrate the problem.

The implementation of the regex was greedy, and content containing
three dashes in succession anywhere, would make the yaml parsing
fail completely.