mirror of
https://github.com/mawww/kakoune.git
synced 2025-01-02 00:32:07 +03:00
Fix matching flags not being forwarded to regex_search
Still does not fully fix #921
This commit is contained in:
parent
3172c8cfff
commit
719eb16a5e
@ -135,7 +135,7 @@ bool regex_search(It begin, It end, const Regex& re,
|
||||
using Utf8It = RegexUtf8It<It>;
|
||||
try
|
||||
{
|
||||
return boost::regex_search(Utf8It{begin, begin, end}, Utf8It{end, begin, end}, re);
|
||||
return boost::regex_search(Utf8It{begin, begin, end}, Utf8It{end, begin, end}, re, flags);
|
||||
}
|
||||
catch (std::runtime_error& err)
|
||||
{
|
||||
@ -150,7 +150,7 @@ bool regex_search(It begin, It end, MatchResults<It>& res, const Regex& re,
|
||||
using Utf8It = RegexUtf8It<It>;
|
||||
try
|
||||
{
|
||||
return boost::regex_search(Utf8It{begin, begin, end}, Utf8It{end, begin, end}, res, re);
|
||||
return boost::regex_search(Utf8It{begin, begin, end}, Utf8It{end, begin, end}, res, re, flags);
|
||||
}
|
||||
catch (std::runtime_error& err)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user