The regex for YAML closing delimiter is to permissive #1347
Labels
bug
Something isn't working
foam-core
Related to API, core model or feature
good first issue
Good for newcomers
Milestone
Describe the bug
Strings like
-..
are recognized as YAML closing delimiter.Small Reproducible Example
No response
Steps to Reproduce the Bug or Issue
This will be recognized as YAML frontmatter:
Expected behavior
Strings like
-..
are not recognized as YAML closing delimiter.Screenshots or Videos
No response
Operating System Version
Visual Studio Code Version
v1.87
Additional context
The regex for YAML closing delimiter is to permissive, allowing false positives like e.g.,
-..
. More correct regex would be:The text was updated successfully, but these errors were encountered: