fix trailing comma not matched in the case of alphanumeric issue (#32945)

Fix #32428.

Patch the regex to match `,`besides `.` `"` `'` `:` and space.
This commit is contained in:
katsu authored and GitHub committed 2024-12-22 21:32:28 +00:00
1 parent 6279646ee4
commit fb75151fb1
2 files changed
+2 -1

No files matched your search

+1
View File
@@ -463,6 +463,7 @@ func TestRegExp_issueAlphanumericPattern(t *testing.T) {
"ABC-123:",
"\"ABC-123\"",
"'ABC-123'",
"ABC-123, unknown PR",
}
falseTestCases := []string{
"RC-08",