Skip to content

Commit

Permalink
CLOUDP-283505: Allow empty removals (#275)
Browse files Browse the repository at this point in the history
  • Loading branch information
blva authored Nov 12, 2024
1 parent a1c638f commit 7f0b7f2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion tools/cli/internal/changelog/outputfilter/squash.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ import (
var (
// identifierRegex matches text enclosed in single quotes.
// Example: it'll match "value" from the string "added the new required request property 'value'".
identifierRegex = regexp.MustCompile(`'([^']+)'`)
// Example: it'll match "" and "/items/dataProcessRegion/region" from the string
// "removed the '' enum value from the '/items/dataProcessRegion/region' response property".
identifierRegex = regexp.MustCompile(`'([^']*)'`)
)

type SquashHandler interface {
Expand Down

0 comments on commit 7f0b7f2

Please sign in to comment.