dworthen/js-yaml-front-matter — pull request #3 by clauswitt (2013-02-20 10:36:27+00:00)
Title: 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.