]> git.lyx.org Git - lyx.git/commitdiff
Does not compile on older gcc.
authorPavel Sanda <sanda@lyx.org>
Tue, 4 Aug 2020 12:54:15 +0000 (14:54 +0200)
committerPavel Sanda <sanda@lyx.org>
Tue, 4 Aug 2020 12:55:22 +0000 (14:55 +0200)
src/insets/InsetBibtex.cpp

index 95c93a15b8d80f499764a3d718f98efec2d2fac9..876adea54b1770ad15a140a3a8d50eb2890edff5 100644 (file)
@@ -1183,8 +1183,8 @@ void InsetBibtex::docbook(XMLStream & xs, OutputParams const &) const
                string html = to_utf8(bibinfo.getInfo(entry.key(), buffer(), ci));
                regex tagRegex("<span class=\"bib-([^\"]*)\">([^<]*)</span>");
                smatch match;
-               auto tagIt = std::sregex_iterator(html.cbegin(), html.cend(), tagRegex, regex_constants::match_default);
-               auto tagEnd = std::sregex_iterator();
+               auto tagIt = lyx::sregex_iterator(html.cbegin(), html.cend(), tagRegex, regex_constants::match_default);
+               auto tagEnd = lyx::sregex_iterator();
                map<string, string> delayedTags;
 
                // Read all tags from HTML and convert those that have a 1:1 matching.