diff --git a/src/regex_impl.hh b/src/regex_impl.hh index f59b2249a..2fd2254a2 100644 --- a/src/regex_impl.hh +++ b/src/regex_impl.hh @@ -530,7 +530,7 @@ private: const unsigned char c = *start; if (start_desc.map[(c < StartDesc::count) ? c : StartDesc::other]) return; - utf8::to_next(start, config.end); + ++start; } else {