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

Adjust REGEX to get FM #173

Merged
merged 2 commits into from
Oct 11, 2024
Merged

Adjust REGEX to get FM #173

merged 2 commits into from
Oct 11, 2024

Conversation

mcruzdev
Copy link
Member

@mcruzdev mcruzdev commented Oct 11, 2024

Closes #158

@mcruzdev mcruzdev requested a review from a team as a code owner October 11, 2024 01:52
@@ -283,7 +283,7 @@ private static String getFrontMatter(String content) {
}

private static String stripFrontMatter(String content) {
return FRONTMATTER_PATTERN.matcher(content).replaceAll("");
return FRONTMATTER_PATTERN.matcher(content).replaceFirst("");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This shouldn't have any effect as we have ^

@ia3andy
Copy link
Contributor

ia3andy commented Oct 11, 2024

Thanks @mcruzdev :)

@ia3andy ia3andy merged commit e0632b7 into quarkiverse:main Oct 11, 2024
3 checks passed
Copy link

🙈 The PR is closed and the preview is expired.

@mcruzdev mcruzdev deleted the issue-158 branch October 11, 2024 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug when using --- inside a markdown code section
2 participants