Skip to content

Commit

Permalink
Merge pull request #701 from traPtitech/ras0q-patch-1
Browse files Browse the repository at this point in the history
zennのid制約を修正
  • Loading branch information
ras0q authored Jul 5, 2024
2 parents e7e18d5 + 55913d2 commit f5a63a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion domain/user.go
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ func IsValidAccountURL(accountType AccountType, URL string) bool {
PIXIV: regexp.MustCompile(`^https://www\.pixiv\.net/users/[0-9]+`),
GITHUB: regexp.MustCompile(`^https://github\.com/[a-zA-Z0-9-]+$`),
QIITA: regexp.MustCompile(`^https://qiita\.com/[a-zA-Z0-9-_]+$`),
ZENN: regexp.MustCompile(`^https://zenn\.dev/[a-zA-Z0-9.]+$`),
ZENN: regexp.MustCompile(`^https://zenn\.dev/[a-z0-9_]+$`),
ATCODER: regexp.MustCompile(`^https://atcoder\.jp/users/[a-zA-Z0-9_]+$`),
SOUNDCLOUD: regexp.MustCompile(`^https://soundcloud\.com/[a-z0-9-_]+$`),
HACKTHEBOX: regexp.MustCompile(`^https://app\.hackthebox\.com/users/[a-zA-Z0-9]+$`),
Expand Down

0 comments on commit f5a63a4

Please sign in to comment.