Removed the global flag from the regular expression.

Updated pull request for https://github.com/jsantell/node-json-front-matter/pull/4.