Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading