Skip to content

Commit

Permalink
Correct header regex (#12)
Browse files Browse the repository at this point in the history
  • Loading branch information
nikthechampiongr committed Mar 14, 2024
1 parent b2fc306 commit b9463a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SS14.Changelog/Controllers/WebhookController.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class WebhookController : Controller
private static readonly Regex IsChangelogFileRegex = new Regex(@"^Resources/Changelog/Parts/.*\.yml$");

private static readonly Regex ChangelogHeaderRegex =
new Regex(@"^\s*(?::cl:|🆑) *([a-z0-9_\- ]+)?\s+$", RegexOptions.IgnoreCase | RegexOptions.Multiline);
new Regex(@"^\s*(?::cl:|🆑) *([a-z0-9_\- ]+)?\s*$", RegexOptions.IgnoreCase | RegexOptions.Multiline);

private static readonly Regex ChangelogEntryRegex =
new Regex(@"^ *[*-]? *(add|remove|tweak|fix|bug|bugfix): *([^\n\r]+)\r?$", RegexOptions.IgnoreCase);
Expand Down

0 comments on commit b9463a4

Please sign in to comment.