Skip to content

Commit

Permalink
fix: readme generation bug (Azure#17726)
Browse files Browse the repository at this point in the history
  • Loading branch information
tadelesh authored Apr 25, 2022
1 parent 4dbc884 commit 268f4ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eng/tools/generator/cmd/v2/common/fileProcessor.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const (
var (
v2BeginRegex = regexp.MustCompile("^```\\s*yaml\\s*\\$\\(go\\)\\s*&&\\s*\\$\\((track2|v2)\\)")
v2EndRegex = regexp.MustCompile("^\\s*```\\s*$")
newClientMethodNameRegex = regexp.MustCompile("^New.+Client$")
newClientMethodNameRegex = regexp.MustCompile("^New.*Client$")
versionLineRegex = regexp.MustCompile(`moduleVersion\s*=\s*\".*v\d+\.\d+\.\d+\"`)
changelogVersionRegex = regexp.MustCompile(`##\s*(?P<version>\d+\.\d+\.\d+)\s*\((\d{4}-\d{2}-\d{2}|Unreleased)\)`)
packageConfigRegex = regexp.MustCompile(`\$\((package-.+)\)`)
Expand Down

0 comments on commit 268f4ca

Please sign in to comment.