Closed apoorv74 closed 6 years ago
The existing regex will detect lines that do not contain # character E.g. grep("^#?---", "---") will return 1. To make it more fail safe, we can usegrep("^#{1}-{3} ?$", f)`
#
grep("^#?---", "---") will return 1. To make it more fail safe, we can use
Was not sure whether uncommented YAML front matter should be accepted or not, makes sense according to the specification. Hence, closing it.
The existing regex will detect lines that do not contain
#
character E.g.grep("^#?---", "---") will return 1. To make it more fail safe, we can use
grep("^#{1}-{3} ?$", f)`