From: Pavel Sanda Date: Tue, 4 Aug 2020 12:54:15 +0000 (+0200) Subject: Does not compile on older gcc. X-Git-Tag: lyx-2.4.0dev-acb2ca7b~452 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;ds=sidebyside;h=bd5f6097fc33d24f39660c38267793f6776f6cd7;p=lyx.git Does not compile on older gcc. --- diff --git a/src/insets/InsetBibtex.cpp b/src/insets/InsetBibtex.cpp index 95c93a15b8..876adea54b 100644 --- a/src/insets/InsetBibtex.cpp +++ b/src/insets/InsetBibtex.cpp @@ -1183,8 +1183,8 @@ void InsetBibtex::docbook(XMLStream & xs, OutputParams const &) const string html = to_utf8(bibinfo.getInfo(entry.key(), buffer(), ci)); regex tagRegex("([^<]*)"); 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 delayedTags; // Read all tags from HTML and convert those that have a 1:1 matching.