Skip to content

Commit

Permalink
Update matcher.go
Browse files Browse the repository at this point in the history
  • Loading branch information
XangelMusic authored May 28, 2024
1 parent 7017cba commit d30971f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion artworks/twitter/matcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func (twitterMatcher) Match(s string) (string, bool) {
return "", false
}

if ok, _ := regexp.MatchString("^(?:mobile\.)?(?:(?:fix(?:up|v))?x|(?:[fv]x)?twitter)\\.com$", u.Host); !ok {
if ok, _ := regexp.MatchString("^(?:mobile\\.)?(?:(?:fix(?:up|v))?x|(?:[fv]x)?twitter)\\.com$", u.Host); !ok {
return "", false
}

Expand Down

0 comments on commit d30971f

Please sign in to comment.