Skip to content

Commit

Permalink
fix: regexp
Browse files Browse the repository at this point in the history
  • Loading branch information
juev committed Dec 30, 2024
1 parent c8cbee2 commit 8112d8d
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 @@ -18,7 +18,7 @@ var (
date = "unknown"
)

var r = regexp.MustCompile(`^(?:.*://)?(?:[^@]+@)?([^:/]+)(?::\d+)?(?:/|:)?(.*)$`)
var r = regexp.MustCompile(`^(?:.*://)?(?:[^@]+@)?([^:/]+)(?::\d+)?[/:]?(.*)$`)

func main() {
var showCommandHelp, showVersionInfo, quiet bool
Expand Down

0 comments on commit 8112d8d

Please sign in to comment.