summaryrefslogtreecommitdiff
path: root/db/matcher.h
diff options
context:
space:
mode:
Diffstat (limited to 'db/matcher.h')
-rw-r--r--db/matcher.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/db/matcher.h b/db/matcher.h
index 9f779fdcb50..2959624b493 100644
--- a/db/matcher.h
+++ b/db/matcher.h
@@ -31,6 +31,7 @@ namespace mongo {
class RegexMatcher {
public:
const char *fieldName;
+ string prefix;
pcrecpp::RE *re;
bool isNot;
RegexMatcher() : re( 0 ), isNot() {}