summaryrefslogtreecommitdiff
path: root/tools/tool.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tools/tool.cpp')
-rw-r--r--tools/tool.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/tool.cpp b/tools/tool.cpp
index 2e0cc6cd418..0dec5864601 100644
--- a/tools/tool.cpp
+++ b/tools/tool.cpp
@@ -212,7 +212,7 @@ namespace mongo {
pcrecpp::StringPiece input(fields_arg);
string f;
- pcrecpp::RE re("([\\w\\.]+),?" );
+ pcrecpp::RE re("([\\w\\.\\s]+),?" );
while ( re.Consume( &input, &f ) ){
_fields.push_back( f );
b.append( f.c_str() , 1 );