diff --git a/server/handler/vmModify.go b/server/handler/vmModify.go index e46af26..1069e9f 100644 --- a/server/handler/vmModify.go +++ b/server/handler/vmModify.go @@ -66,7 +66,7 @@ func (h *Handler) processConfigChanges(configChanges string) []map[string]string changes := regexp.MustCompile(`\n+`).Split(configChanges, -1) // Regular expression to match config type and the new value after '->' or '<-' - re := regexp.MustCompile(`(?P[^\s]+): \d+ -[><] (?P\w+);`) + re := regexp.MustCompile(`(?P[^\s]+): \d+ -[><] (?P[^;]+);`) // Result will hold a list of changes with type and new value var result []map[string]string