diff options
Diffstat (limited to 'vsm')
-rw-r--r-- | vsm/src/vespa/vsm/vsm/fieldsearchspec.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vsm/src/vespa/vsm/vsm/fieldsearchspec.cpp b/vsm/src/vespa/vsm/vsm/fieldsearchspec.cpp index b12282910bf..bb30cdd89e9 100644 --- a/vsm/src/vespa/vsm/vsm/fieldsearchspec.cpp +++ b/vsm/src/vespa/vsm/vsm/fieldsearchspec.cpp @@ -156,9 +156,9 @@ FieldSearchSpecMap::~FieldSearchSpecMap() {} namespace { const std::string _G_empty(""); const std::string _G_value(".value"); - const std::basic_regex<char> _G_map1("\\{[a-zA-Z0-9]+\\}"); - const std::basic_regex<char> _G_map2("\\{\".*\"\\}"); - const std::basic_regex<char> _G_array("\\[[0-9]+\\]"); + const std::regex _G_map1("\\{[a-zA-Z0-9]+\\}"); + const std::regex _G_map2("\\{\".*\"\\}"); + const std::regex _G_array("\\[[0-9]+\\]"); } vespalib::string FieldSearchSpecMap::stripNonFields(const vespalib::string & rawIndex) |