Skip to content

Commit

Permalink
fix: Generating .regex.txt files ( Fixes #235, Fixes #236 )
Browse files Browse the repository at this point in the history
  • Loading branch information
James Brundage authored and James Brundage committed Sep 22, 2024
1 parent d78e89f commit 1011278
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion RegEx/Markdown/YAMLHeader.regex.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Matches a Markdown YAML Header
# Matches a Markdown YAML Header
(?m)\A\-{3,} # At least 3 dashes mark the start of the YAML header
(?<YAML>(?:.|\s){0,}?(?=\z|\-{3,} # And anything until at least three dashes is the content
))\-{3,} # Include the dashes in the match, so that the pointer is correct.
Expand Down

0 comments on commit 1011278

Please sign in to comment.