Prevent false positive grammar match with YAML files

Require a character other than a newline to follow "--- " to prevent matching YAML files starting with an array or dictionary.