1
1
mirror of https://github.com/mawww/kakoune.git synced 2024-11-24 07:53:41 +03:00

Optimize regex in command

This commit is contained in:
Maxime Coste 2019-12-05 21:11:12 +11:00
parent 1ec14ea826
commit 023a65eeac

View File

@ -1396,7 +1396,7 @@ const CommandDesc debug_cmd = {
throw runtime_error("expected a regex");
write_to_debug_buffer(format(" * {}:\n{}",
parser[1], dump_regex(compile_regex(parser[1], RegexCompileFlags::None))));
parser[1], dump_regex(compile_regex(parser[1], RegexCompileFlags::Optimize))));
}
else
throw runtime_error(format("no such debug command: '{}'", parser[0]));