fix: Redundant character escape

This commit is contained in:
Senis 2022-11-08 17:50:03 +08:00
parent c4ef5bb843
commit 310353f344

View File

@ -21,7 +21,7 @@ import (
var (
firstPortRe = regexp.MustCompile(`(?m)port=(?P<outport>\d+)#?`) // First Port
secondPortRe = regexp.MustCompile(`(?m)port=\d+#(\d+)`) // Second Port
hostRe = regexp.MustCompile(`(?m)host=([\w\.]+)\|?`) // Host
hostRe = regexp.MustCompile(`(?m)host=([\w.]+)\|?`) // Host
)
// APIClient create a api client to the panel.