mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-09 18:31:04 +00:00
findadv: fix compilation issue from [lyxgit/ecc36be6], when using boost instead of std regex.
This commit is contained in:
parent
6c2a8df504
commit
28c320e1a0
@ -961,7 +961,7 @@ int MatchStringAdv::findAux(DocIterator const & cur, int len, bool at_begin) con
|
||||
LYXERR(Debug::FIND, "Searching in regexp mode: at_begin=" << at_begin);
|
||||
regex const & p_regexp = at_begin ? regexp : regexp2;
|
||||
sregex_iterator re_it(str.begin(), str.end(), p_regexp);
|
||||
if (re_it == std::sregex_iterator())
|
||||
if (re_it == sregex_iterator())
|
||||
return 0;
|
||||
match_results<string::const_iterator> const & m = *re_it;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user