X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Finsets%2FInsetBibtex.cpp;h=ef7d29f0e8aae8fde1f078b4979dd8c48af8d9ae;hb=7779316e6c5dd6d0d522d8fdfedf5cba48c56c6a;hp=1df99286bebc9951e61dca925d710a23ebf30451;hpb=54ccd275f1c115da5ea279652421b018564f5c56;p=features.git diff --git a/src/insets/InsetBibtex.cpp b/src/insets/InsetBibtex.cpp index 1df99286be..ef7d29f0e8 100644 --- a/src/insets/InsetBibtex.cpp +++ b/src/insets/InsetBibtex.cpp @@ -43,7 +43,6 @@ #include "support/ExceptionMessage.h" #include "support/FileNameList.h" #include "support/filetools.h" -#include "support/regex.h" #include "support/gettext.h" #include "support/lstrings.h" #include "support/os.h" @@ -52,6 +51,7 @@ #include #include +#include #include #include @@ -1188,8 +1188,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 = lyx::sregex_iterator(html.cbegin(), html.cend(), tagRegex, regex_constants::match_default); - auto tagEnd = lyx::sregex_iterator(); + auto tagIt = sregex_iterator(html.cbegin(), html.cend(), tagRegex, regex_constants::match_default); + auto tagEnd = sregex_iterator(); map delayedTags; // Read all tags from HTML and convert those that have a 1:1 matching.