Skip to content

Commit 1767be1

Browse files
remove chars
1 parent 89704af commit 1767be1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎xdcc/xdcc.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ type ParsedParts struct {
8686
}
8787

8888
func parseSendParams(text string) *ParsedParts {
89-
re := regexp.MustCompile(`/(?:[^\s"]+|"[^"]*")+/g`)
89+
re := regexp.MustCompile(`(?:[^\s"]+|"[^"]*")+`)
9090
replace := regexp.MustCompile(`^"(.+)"$`)
9191

9292
parts := re.FindAllString(text, -1)

0 commit comments

Comments
 (0)