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:
parent
1ec14ea826
commit
023a65eeac
@ -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]));
|
||||
|
Loading…
Reference in New Issue
Block a user