Make sure the "command regex add" has a unique name for editline history purposes.
llvm-svn: 212644
diff --git a/lldb/source/Commands/CommandObjectCommands.cpp b/lldb/source/Commands/CommandObjectCommands.cpp
index 04c5e1a..7d9bb7d 100644
--- a/lldb/source/Commands/CommandObjectCommands.cpp
+++ b/lldb/source/Commands/CommandObjectCommands.cpp
@@ -1034,7 +1034,7 @@
Debugger &debugger = m_interpreter.GetDebugger();
const bool multiple_lines = true; // Get multiple lines
IOHandlerSP io_handler_sp (new IOHandlerEditline (debugger,
- "lldb", // Name of input reader for history
+ "lldb-regex", // Name of input reader for history
"\033[K> ", // Prompt and clear line
multiple_lines,
0, // Don't show line numbers