Change the kdp-remote alias to require a hostname (instead of allowing a zero-length hostname to be specified).



git-svn-id: https://llvm.org/svn/llvm-project/lldb/trunk@164752 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Interpreter/CommandInterpreter.cpp b/source/Interpreter/CommandInterpreter.cpp
index 29ebb69..52ba414 100644
--- a/source/Interpreter/CommandInterpreter.cpp
+++ b/source/Interpreter/CommandInterpreter.cpp
@@ -485,7 +485,7 @@
     if (connect_kdp_remote_cmd_ap.get())
     {
         if (connect_kdp_remote_cmd_ap->AddRegexCommand("^([^:]+:[[:digit:]]+)$", "process connect --plugin kdp-remote udp://%1") &&
-            connect_kdp_remote_cmd_ap->AddRegexCommand("^(.*)$", "process connect --plugin kdp-remote udp://%1:41139"))
+            connect_kdp_remote_cmd_ap->AddRegexCommand("^(.+)$", "process connect --plugin kdp-remote udp://%1:41139"))
         {
             CommandObjectSP command_sp(connect_kdp_remote_cmd_ap.release());
             m_command_dict[command_sp->GetCommandName ()] = command_sp;