Skip to content

Commit

Permalink
Fix source code sanitizer markdown snipets detection on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
WojciechMazur committed Dec 5, 2023
1 parent 1873e65 commit b920657
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class SourceCodeSanitizer[ParserCtx, ParserAST](

private final val MarkdownCodeSnippet = java.util.regex.Pattern
.compile(
raw"^`{3}(\w+\s*)?\n([\s\S]*?)`{3}",
raw"```(\w+)?\s*\R([\s\S]*?)```",
Pattern.MULTILINE | Pattern.CASE_INSENSITIVE
)
private final val StackTraceLine =
Expand Down

0 comments on commit b920657

Please sign in to comment.