summaryrefslogtreecommitdiff
path: root/src/regex.cc
diff options
context:
space:
mode:
authorMaxime Coste <frrrwww@gmail.com>2016-05-19 21:45:23 +0100
committerMaxime Coste <frrrwww@gmail.com>2016-05-19 21:45:23 +0100
commit1834a67b87b7a8f6a9108721910e8be192471211 (patch)
tree4784c9a83e7533b6afc2eaadf890fa9ca8ba952a /src/regex.cc
parente1703204f8ca8e6cbc55ef609be99816ae5ec6d6 (diff)
Go back to libc locale and use c_regex_traits
Unfortunately, cygwin does not support c++ locales.
Diffstat (limited to 'src/regex.cc')
-rw-r--r--src/regex.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regex.cc b/src/regex.cc
index d70d8dd6..4482cb59 100644
--- a/src/regex.cc
+++ b/src/regex.cc
@@ -8,7 +8,7 @@ namespace Kakoune
using Utf8It = RegexUtf8It<const char*>;
Regex::Regex(StringView re, flag_type flags) try
- : boost::wregex{Utf8It{re.begin(), re}, Utf8It{re.end(), re}}, m_str(re.str())
+ : RegexBase{Utf8It{re.begin(), re}, Utf8It{re.end(), re}}, m_str(re.str())
{} catch (std::runtime_error& err) { throw regex_error(err.what()); }
String option_to_string(const Regex& re)