Skip to content

Commit

Permalink
Simplify pattern to match "neoforge" in a crash report
Browse files Browse the repository at this point in the history
  • Loading branch information
pavog committed Nov 6, 2024
1 parent 44ff15a commit 28d0e38
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ public static function getDetectors(): array
->addPattern("/^\tNeoForge: net\.neoforged:/m"),
(new MultiPatternDetector())
->addPattern("/^---- Minecraft Crash Report ----$/m")
->addPattern("/^\t\t\S*\s*\|\S*\s*\|neoforge\s*\|[0-9\.]+(?:-beta)?\s*\|/m"),
->addPattern("/^\t\t[^|]*\|[^|]*\|\s*neoforge\s*\|/m"),
];
}

Expand Down

0 comments on commit 28d0e38

Please sign in to comment.