Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(front-matter): remove regexp m flags #6393

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

timreichen
Copy link
Contributor

This PR restructures regexps by removing m flags and adding capturing groups for data and body. This makes match post processing in extractAndParse() and pre processing in recognize() obsolete.

Copy link

codecov bot commented Feb 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.09%. Comparing base (8c38d9c) to head (6e3f501).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #6393      +/-   ##
==========================================
+ Coverage   96.08%   96.09%   +0.01%     
==========================================
  Files         560      560              
  Lines       42337    42345       +8     
  Branches     6382     6381       -1     
==========================================
+ Hits        40681    40693      +12     
+ Misses       1616     1613       -3     
+ Partials       40       39       -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant