diff --git a/src/regex_impl.cc b/src/regex_impl.cc index 8909d766..2a992df9 100644 --- a/src/regex_impl.cc +++ b/src/regex_impl.cc @@ -490,7 +490,7 @@ private: { for (auto& range : ranges) { - range.min = to_lower(range.max); + range.min = to_lower(range.min); range.max = to_lower(range.max); } for (auto& cp : excluded)