You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
publicstaticreadonlyRegexDefaultMergeMessageRegex=new(@"^Merge (branch|tag) '(?<SourceBranch>[^']*)'(?: into (?<TargetBranch>[^\s]*))*",RegexOptions.IgnoreCase|RegexOptions.Compiled);
22
-
publicstaticreadonlyRegexSmartGitMergeMessageRegex=new(@"^Finish (?<SourceBranch>[^\s]*)(?: into (?<TargetBranch>[^\s]*))*",RegexOptions.IgnoreCase|RegexOptions.Compiled);
23
-
publicstaticreadonlyRegexBitBucketPullMergeMessageRegex=new(@"^Merge pull request #(?<PullRequestNumber>\d+) (from|in) (?<Source>.*) from (?<SourceBranch>[^\s]*) to (?<TargetBranch>[^\s]*)",RegexOptions.IgnoreCase|RegexOptions.Compiled);
24
-
publicstaticreadonlyRegexBitBucketPullv7MergeMessageRegex=new(@"^Pull request #(?<PullRequestNumber>\d+).*\r?\n\r?\nMerge in (?<Source>.*) from (?<SourceBranch>[^\s]*) to (?<TargetBranch>[^\s]*)",RegexOptions.IgnoreCase|RegexOptions.Compiled);
25
-
publicstaticreadonlyRegexBitBucketCloudPullMergeMessageRegex=new(@"^Merged in (?<SourceBranch>[^\s]*) \(pull request #(?<PullRequestNumber>\d+)\)",RegexOptions.IgnoreCase|RegexOptions.Compiled);
26
-
publicstaticreadonlyRegexGitHubPullMergeMessageRegex=new(@"^Merge pull request #(?<PullRequestNumber>\d+) (from|in) (?:[^\s\/]+\/)?(?<SourceBranch>[^\s]*)(?: into (?<TargetBranch>[^\s]*))*",RegexOptions.IgnoreCase|RegexOptions.Compiled);
27
-
publicstaticreadonlyRegexRemoteTrackingMergeMessageRegex=new(@"^Merge remote-tracking branch '(?<SourceBranch>[^\s]*)'(?: into (?<TargetBranch>[^\s]*))*",RegexOptions.IgnoreCase|RegexOptions.Compiled);
28
-
publicstaticreadonlyRegexAzureDevOpsPullMergeMessageRegex=new(@"^Merge pull request (?<PullRequestNumber>\d+) from (?<SourceBranch>[^\s]*) into (?<TargetBranch>[^\s]*)",RegexOptions.IgnoreCase|RegexOptions.Compiled);
21
+
publicstaticRegexDefaultMergeMessageRegex{get;}=new(@"^Merge (branch|tag) '(?<SourceBranch>[^']*)'(?: into (?<TargetBranch>[^\s]*))*",RegexOptions.IgnoreCase|RegexOptions.Compiled);
22
+
publicstaticRegexSmartGitMergeMessageRegex{get;}=new(@"^Finish (?<SourceBranch>[^\s]*)(?: into (?<TargetBranch>[^\s]*))*",RegexOptions.IgnoreCase|RegexOptions.Compiled);
23
+
publicstaticRegexBitBucketPullMergeMessageRegex{get;}=new(@"^Merge pull request #(?<PullRequestNumber>\d+) (from|in) (?<Source>.*) from (?<SourceBranch>[^\s]*) to (?<TargetBranch>[^\s]*)",RegexOptions.IgnoreCase|RegexOptions.Compiled);
24
+
publicstaticRegexBitBucketPullv7MergeMessageRegex{get;}=new(@"^Pull request #(?<PullRequestNumber>\d+).*\r?\n\r?\nMerge in (?<Source>.*) from (?<SourceBranch>[^\s]*) to (?<TargetBranch>[^\s]*)",RegexOptions.IgnoreCase|RegexOptions.Compiled);
25
+
publicstaticRegexBitBucketCloudPullMergeMessageRegex{get;}=new(@"^Merged in (?<SourceBranch>[^\s]*) \(pull request #(?<PullRequestNumber>\d+)\)",RegexOptions.IgnoreCase|RegexOptions.Compiled);
26
+
publicstaticRegexGitHubPullMergeMessageRegex{get;}=new(@"^Merge pull request #(?<PullRequestNumber>\d+) (from|in) (?:[^\s\/]+\/)?(?<SourceBranch>[^\s]*)(?: into (?<TargetBranch>[^\s]*))*",RegexOptions.IgnoreCase|RegexOptions.Compiled);
27
+
publicstaticRegexRemoteTrackingMergeMessageRegex{get;}=new(@"^Merge remote-tracking branch '(?<SourceBranch>[^\s]*)'(?: into (?<TargetBranch>[^\s]*))*",RegexOptions.IgnoreCase|RegexOptions.Compiled);
28
+
publicstaticRegexAzureDevOpsPullMergeMessageRegex{get;}=new(@"^Merge pull request (?<PullRequestNumber>\d+) from (?<SourceBranch>[^\s]*) into (?<TargetBranch>[^\s]*)",RegexOptions.IgnoreCase|RegexOptions.Compiled);
0 commit comments