Stop the lldb_private::RegularExpression class from implicitly
constructing itself and causing unexpected things to happen
in LLDB.



git-svn-id: https://llvm.org/svn/llvm-project/llvdb/trunk@134598 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/source/Commands/CommandObjectTarget.cpp b/source/Commands/CommandObjectTarget.cpp
index 2cce53e..3ee7026 100644
--- a/source/Commands/CommandObjectTarget.cpp
+++ b/source/Commands/CommandObjectTarget.cpp
@@ -465,7 +465,7 @@
                     }
                     else
                     {
-                        matches = exe_ctx.target->GetImages().FindGlobalVariables (arg,
+                        matches = exe_ctx.target->GetImages().FindGlobalVariables (ConstString(arg),
                                                                                    true, 
                                                                                    UINT32_MAX, 
                                                                                    global_var_list);