Skip to content

Commit

Permalink
Update regex for new version string
Browse files Browse the repository at this point in the history
  • Loading branch information
SavageCore committed Jan 28, 2024
1 parent ab67ba4 commit e8ff227
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ func onExit() {
}

func parseUrlInput(input string) {
re := regexp.MustCompile(`^([A-Za-z]+)/(\d+)/v/(\d+)$`)
re := regexp.MustCompile(`^([A-Za-z]+)/(\d+)/v/(\d.+)$`)

if re.MatchString(input) {
action := re.FindStringSubmatch(input)[1]
Expand Down

0 comments on commit e8ff227

Please sign in to comment.